(self.webpackChunkclient = self.webpackChunkclient || []).push([[179], {
9698: (Oe, ae, D) => {
"use strict";
D.d(ae, {
k: () => U
});
var h = D(2340);
let w = "http://localhost:3000/"
, A = "top-ranked-dating.com"
, G = "localhost";
h.N.production ? (G = "top-ranked-dating.com",
w = "https://api.top-ranked-dating.com/") : h.N.stage && (G = "top-ranked-dating.com",
w = "https://stage-api.top-ranked-dating.com/",
A = "stage.top-ranked-dating.com");
const U = {
API_DOMAIN: w,
DOMAIN_NAME: A,
ROOT_DOMAIN_NAME: G,
URLS: {
CATEGORIES_URL: "categories/",
CATEGORIES_COMMENTS_URL: "comments/",
PAGES_URL: "pages/",
REVIEWS_URL: "reviews/",
COOKIES_BANNER_URL: "cookies-banner-events/",
PUSH_NOTIFICATION: "push-events/",
ANALYTICS: {
IMPRESSION_EVENT_URL: "impression/",
VISIT_EVENT_URL: "visits/",
USER_EVENTS_URL: "events/"
}
}
}
}
,
1471: (Oe, ae, D) => {
"use strict";
D.d(ae, {
c: () => h
});
var h = ( () => {
return (w = h || (h = {})).DISCLAIMER = "DISCLAIMER",
w.SCORE_DISCLAIMER = "SCORE_DISCLAIMER",
w.PAGE_ALL_REVIEWS = "PAGE_ALL_REVIEWS",
w.PAGE_PRIVACY = "PAGE_PRIVACY",
w.PAGE_TERMS = "PAGE_TERMS",
w.PAGE_ABOUT = "PAGE_ABOUT",
w.PAGE_IMPRESSUM = "PAGE_IMPRESSUM",
h;
var w
}
)()
}
,
2450: (Oe, ae, D) => {
"use strict";
D.d(ae, {
z: () => w
});
var h = D(8256);
let w = ( () => {
class A {
constructor(U) {
this.elRef = U,
this.defaultPath = "/assets/default.png",
"loading"in HTMLImageElement.prototype && U.nativeElement.setAttribute("loading", "lazy")
}
set src(U) {
U && (this._src = U?.startsWith("/") ? U : "/" + U)
}
set defaultImage(U) {
U && (this._defaultImage = U?.startsWith("/") ? U : "/" + U)
}
ngOnInit() {
this.elRef.nativeElement.src = this._src || ""
}
onError() {
const U = this.elRef.nativeElement;
new URL(U.src).pathname === this.defaultImage ? U.src = this.defaultPath : U.src === this.defaultPath ? U.src = "" : this.elRef.nativeElement.src = this.defaultImage ? this.defaultImage : this.defaultPath
}
}
return A.\u0275fac = function(U) {
return new (U || A)(h.Y36(h.SBq))
}
,
A.\u0275dir = h.lG2({
type: A,
selectors: [["img"]],
hostBindings: function(U, le) {
1 & U && h.NdJ("error", function() {
return le.onError()
})
},
inputs: {
src: "src",
defaultImage: "defaultImage"
}
}),
A
}
)()
}
,
5542: (Oe, ae, D) => {
"use strict";
D.d(ae, {
D: () => w
});
var h = D(8256);
let w = ( () => {
class A {
transform(U) {
return JSON.stringify(U)
}
}
return A.\u0275fac = function(U) {
return new (U || A)
}
,
A.\u0275pipe = h.Yjl({
name: "objectView",
type: A,
pure: !0
}),
A
}
)()
}
,
7270: (Oe, ae, D) => {
"use strict";
D.d(ae, {
L: () => X
});
var h = D(8256)
, w = D(6895)
, A = D(1226)
, G = D(2450);
function U(P, K) {
1 & P && h._UZ(0, "img", 11)
}
const le = function() {
return []
};
function J(P, K) {
if (1 & P && (h.TgZ(0, "div", 3)(1, "div", 4),
h._UZ(2, "img", 5),
h.TgZ(3, "div", 6),
h._UZ(4, "p", 7),
h.TgZ(5, "div", 8),
h.YNc(6, U, 1, 0, "img", 9),
h.qZA()()(),
h.TgZ(7, "div", 10),
h._UZ(8, "h4", 7)(9, "p", 7),
h.qZA()()),
2 & P) {
const M = K.$implicit;
h.xp6(2),
h.Q6J("src", M.avatar, h.LSH),
h.xp6(2),
h.Q6J("innerHTML", M.name, h.oJD),
h.xp6(2),
h.Q6J("ngForOf", h.DdM(5, le).constructor(M.numberOfStars)),
h.xp6(2),
h.Q6J("innerHTML", M.title, h.oJD),
h.xp6(1),
h.Q6J("innerHTML", M.text, h.oJD)
}
}
const q = function(P) {
return ["", "go", P]
}
, te = function(P) {
return {
page: P
}
};
let R = ( () => {
class P {
constructor() {
this.comments = [],
this.offerLink = ""
}
ngOnInit() {
this.comments.map(M => {
M.numberOfStars = Number(M.numberOfStars)
}
)
}
}
return P.\u0275fac = function(M) {
return new (M || P)
}
,
P.\u0275cmp = h.Xpm({
type: P,
selectors: [["comments-component"]],
inputs: {
comments: "comments",
offerLink: "offerLink"
},
decls: 4,
vars: 7,
consts: [[1, "comments"], ["class", "comment", 4, "ngFor", "ngForOf"], ["target", "_blank", 3, "routerLink", "queryParams"], [1, "comment"], [1, "comment_user"], [3, "src"], [1, "rate"], [3, "innerHTML"], [1, "stars"], ["src", "/assets/comment_star.svg", 4, "ngFor", "ngForOf"], [1, "comment_content"], ["src", "/assets/comment_star.svg"]],
template: function(M, B) {
1 & M && (h.TgZ(0, "div", 0),
h.YNc(1, J, 10, 6, "div", 1),
h.TgZ(2, "a", 2),
h._uU(3, "SHOW MORE"),
h.qZA()()),
2 & M && (h.xp6(1),
h.Q6J("ngForOf", B.comments),
h.xp6(1),
h.Q6J("routerLink", h.VKq(3, q, B.offerLink))("queryParams", h.VKq(5, te, "review_comments_" + B.offerLink)))
},
dependencies: [w.sg, A.yS, G.z],
styles: [".comments[_ngcontent-%COMP%] .comment[_ngcontent-%COMP%]{border-radius:20px;background:#FFF;padding:20px;margin-bottom:20px;box-shadow:0 0 20px #541c411a}.comments[_ngcontent-%COMP%] .comment_user[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:12px}.comments[_ngcontent-%COMP%] .comment_user[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:45px;height:45px;border-radius:50%;margin-bottom:0}.comments[_ngcontent-%COMP%] .comment_user[_ngcontent-%COMP%] .rate[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.comments[_ngcontent-%COMP%] .comment_user[_ngcontent-%COMP%] .stars[_ngcontent-%COMP%]{display:flex;align-items:center;margin-top:6px}.comments[_ngcontent-%COMP%] .comment_user[_ngcontent-%COMP%] .stars[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:2px;border-radius:0;margin-bottom:0}.comments[_ngcontent-%COMP%] .comment_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%]{font-family:Prompt;font-size:20px;line-height:28px;letter-spacing:.5px;font-weight:600;margin-bottom:8px}.comments[_ngcontent-%COMP%] .comment_content[_ngcontent-%COMP%] h4[_ngcontent-%COMP%] *{font-family:Prompt;font-size:20px;line-height:28px;letter-spacing:.5px;font-weight:600}.comments[_ngcontent-%COMP%] .comment_content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#43323b;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:26px}.comments[_ngcontent-%COMP%] .comment_content[_ngcontent-%COMP%] p[_ngcontent-%COMP%] *{color:#43323b;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:26px}.comments[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{border-radius:10px;border:2px solid #FE5654;background:#FFF;max-width:100%;width:100%;color:#f0130e;text-align:center;font-family:Rubik;font-size:16px;font-style:normal;font-weight:600;line-height:25px;letter-spacing:1px;text-decoration:none;display:flex;align-items:center;justify-content:center;height:48px;cursor:pointer}"]
}),
P
}
)()
, X = ( () => {
class P {
static transform(M, B, ne, Pe, Se="") {
return (M.match(/\[comments]([\S\s]+)\[\/comments]/g) || []).forEach( (oe, De) => {
const me = "comments-" + Se + De
, ve = oe.split("[item]").map(Q => Q.match(/([\s\S]+\[\/item])/g) && Q.match(/([\s\S]+\[\/item])/g)?.pop()).filter(Q => Q).map(Q => {
const V = /(?:\[title])([\s\S]+)(?:\[\/title])/g.exec(Q || "")
, Z = /(?:\[text])([\s\S]+)(?:\[\/text])/g.exec(Q || "")
, z = /(?:\[stars])([\s\S]+)(?:\[\/stars])/g.exec(Q || "")
, pe = /(?:\[name])([\s\S]+)(?:\[\/name])/g.exec(Q || "")
, L = /(?:\[avatar])([\s\S]+)(?:\[\/avatar])/g.exec(Q || "");
return {
title: V && V.pop() || "",
text: Z && Z.pop() || "",
numberOfStars: z && z.pop() || "",
name: pe && pe.pop() || "",
avatar: L && L.pop() || ""
}
}
);
M = M.replace(/\[comments]([\S\s]+)\[\/comments]/g, `
`),
setTimeout( () => {
const Q = Pe.getElementById(me);
if (Q) {
const Z = B.resolveComponentFactory(R).create(ne.injector, void 0, Q);
Z.instance.comments = ve,
Z.instance.offerLink = Se,
Z.changeDetectorRef.detectChanges()
}
}
, 0)
}
),
M
}
}
return P.\u0275fac = function(M) {
return new (M || P)
}
,
P.\u0275pipe = h.Yjl({
name: "renderComments",
type: P,
pure: !0
}),
P
}
)()
}
,
820: (Oe, ae, D) => {
"use strict";
D.d(ae, {
U: () => le
});
var h = D(8256)
, w = D(1914)
, A = D(6895);
function G(J, q) {
if (1 & J) {
const te = h.EpF();
h.TgZ(0, "div", 1),
h.NdJ("click", function() {
const P = h.CHM(te).index
, K = h.oxw();
return h.KtG(K.headerClick(P))
}),
h._UZ(1, "div", 2)(2, "div", 3),
h.qZA()
}
if (2 & J) {
const te = q.$implicit
, R = q.index
, X = h.oxw();
h.ekj("active", X.selected.includes(R)),
h.xp6(1),
h.Q6J("innerHTML", te.question, h.oJD),
h.xp6(1),
h.Q6J("innerHTML", te.answer, h.oJD)
}
}
let U = ( () => {
class J {
constructor(te, R) {
this.cd = te,
this.componentStateService = R,
this.faq = [],
this.selected = [],
this.isSplit = !1
}
ngOnInit() {
this.componentStateService.isDarkTheme.subscribe(te => {
this.isSplit = te
}
)
}
headerClick(te) {
this.selected = this.selected.includes(te) ? this.selected.filter(R => R !== te) : [...this.selected, te],
this.cd.detectChanges()
}
}
return J.\u0275fac = function(te) {
return new (te || J)(h.Y36(h.sBO),h.Y36(w.I))
}
,
J.\u0275cmp = h.Xpm({
type: J,
selectors: [["client-faq-plain"]],
inputs: {
faq: "faq"
},
decls: 4,
vars: 3,
consts: [["class", "faqItem", 3, "active", "click", 4, "ngFor", "ngForOf"], [1, "faqItem", 3, "click"], [1, "summary", "open_faq", 3, "innerHTML"], [1, "details", 3, "innerHTML"]],
template: function(te, R) {
1 & te && (h.TgZ(0, "div")(1, "h2"),
h._uU(2, "Frequently Asked Questions"),
h.qZA(),
h.YNc(3, G, 3, 4, "div", 0),
h.qZA()),
2 & te && (h.ekj("dark", R.isSplit),
h.xp6(3),
h.Q6J("ngForOf", R.faq))
},
dependencies: [A.sg],
styles: ['@import"https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700;800;900&display=swap";.dark[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}.dark[_ngcontent-%COMP%] .faqItem[_ngcontent-%COMP%]{background:#F4EEFC}.dark[_ngcontent-%COMP%] .faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:after{background-image:url(/assets/faq_icon_split.svg)}h2[_ngcontent-%COMP%]{color:#1e1e24;font-family:Prompt;font-size:32px;font-style:normal;font-weight:600;line-height:40px;letter-spacing:1px;text-transform:capitalize;margin:0 0 20px!important}@media (max-width: 768px){h2[_ngcontent-%COMP%]{font-size:24px;line-height:32px}}.faqItem[_ngcontent-%COMP%]{height:auto;cursor:pointer;border-radius:10px;background:#FFECEC;box-shadow:0 2px 15px #344b6a1a;margin-bottom:16px;padding:20px}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%;font-style:normal;font-weight:600;font-size:20px;line-height:28px;letter-spacing:.5px;position:relative;transition:max-height .5s ease;margin-bottom:0;padding-right:58px}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%] span{font-weight:600}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%] h2{color:#1e1e24;font-family:Prompt;font-size:20px;font-style:normal;font-weight:600;line-height:33px;letter-spacing:.5px;margin:0}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%] h2{font-size:18px;line-height:26px}}.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:after{position:absolute;content:"";font-weight:700;padding:0;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;width:28px;height:28px;right:0;cursor:pointer;transition:transform .5s;background-image:url(/assets/faq_icon.svg);background-repeat:no-repeat;background-position:center;box-shadow:0 1px 15px #b0b0b026}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{font-size:18px;line-height:26px;padding-right:44px}}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{overflow:hidden;max-height:0;color:#43323b;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:26px;box-shadow:none;opacity:0;margin:-25px auto 0;padding-top:25px}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] p{color:#43323b;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:26px;margin-bottom:16px}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] p{font-size:13px;line-height:20px}}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] a{color:#f0130e;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:26px;text-decoration-line:underline}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] ul{margin-bottom:0;padding-left:30px}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] ul li{color:#43323b;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:24px;margin-bottom:14px}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] ul li span{line-height:24px}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] ul li ul{margin:10px 0}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%] strong{font-weight:700}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:16px;line-height:24px;max-width:calc(100% - 30px)}}.faqItem.active[_ngcontent-%COMP%]{box-shadow:0 2px 15px #344b6a1a;background-color:#fff}.faqItem.active[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{padding-bottom:20px;border-bottom:1px solid #CDD8E9}.faqItem.active[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]:after{transform:rotate(45deg)}.faqItem.active[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{margin-top:0;max-height:unset;min-height:100%;opacity:1;padding-top:15px}@media (max-width: 768px){.faqItem[_ngcontent-%COMP%]{padding:16px;margin-bottom:14px}}@media (max-width: 767px){.faqItem[_ngcontent-%COMP%] .summary[_ngcontent-%COMP%]{font-size:16px;line-height:17px}.faqItem[_ngcontent-%COMP%] .details[_ngcontent-%COMP%]{font-size:12px;line-height:17px}}'],
changeDetection: 0
}),
J
}
)()
, le = ( () => {
class J {
static transform(te, R, X, P) {
return (te.match(/\[faq]([\S\s]+)\[\/faq]/g) || []).forEach( (M, B) => {
const ne = "FAQ-plain" + B
, Pe = M.split("[faq-item]").map(Se => Se.match(/([\s\S]+\[\/faq-item])/g) && Se.match(/([\s\S]+\[\/faq-item])/g)?.pop()).filter(Se => Se).map(Se => {
const xe = /(?:\[question])([\s\S]+)(?:\[\/question])/g.exec(Se || "")
, oe = /(?:\[answer])([\s\S]+)(?:\[\/answer])/g.exec(Se || "");
return {
question: xe && xe.pop() || "",
answer: oe && oe.pop() || ""
}
}
);
te = te.replace(/\[faq]([\S\s]+)\[\/faq]/g, ``),
setTimeout( () => {
const Se = P.getElementById(ne);
if (Se) {
const oe = R.resolveComponentFactory(U).create(X.injector, void 0, Se);
oe.instance.faq = Pe,
oe.changeDetectorRef.detectChanges()
}
}
, 0)
}
),
te
}
}
return J.\u0275fac = function(te) {
return new (te || J)
}
,
J.\u0275pipe = h.Yjl({
name: "renderFAQPlain",
type: J,
pure: !0
}),
J
}
)()
}
,
4233: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Q: () => J
});
var h = D(8256)
, w = D(1523)
, A = D(6895)
, G = D(2450);
function U(q, te) {
if (1 & q && (h.TgZ(0, "div", 2),
h._UZ(1, "img", 3),
h.TgZ(2, "div", 4),
h._UZ(3, "p", 5)(4, "p", 6),
h.qZA()()),
2 & q) {
const R = te.$implicit
, X = te.index;
h.xp6(1),
h.Q6J("src", "/assets/props-img" + (X + 1) + ".svg", h.LSH),
h.xp6(2),
h.Q6J("innerHTML", R.title, h.oJD),
h.xp6(1),
h.Q6J("innerHTML", R.text, h.oJD)
}
}
let le = ( () => {
class q {
constructor(R) {
this.cookieService = R,
this.props = [],
this.isSplit = !1
}
ngOnInit() {
this.isSplit = "dark_theme" === this.cookieService.get("splitMarkerClient")
}
}
return q.\u0275fac = function(R) {
return new (R || q)(h.Y36(w.F))
}
,
q.\u0275cmp = h.Xpm({
type: q,
selectors: [["client-props"]],
inputs: {
props: "props"
},
decls: 2,
vars: 3,
consts: [[1, "wrapper"], ["class", "props", 4, "ngFor", "ngForOf"], [1, "props"], [3, "src"], [1, "content"], [1, "title", 3, "innerHTML"], [1, "text", 3, "innerHTML"]],
template: function(R, X) {
1 & R && (h.TgZ(0, "div", 0),
h.YNc(1, U, 5, 3, "div", 1),
h.qZA()),
2 & R && (h.ekj("dark", X.isSplit),
h.xp6(1),
h.Q6J("ngForOf", X.props))
},
dependencies: [A.sg, G.z],
styles: [".wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:20px;margin:30px 0 50px;flex-wrap:wrap}.wrapper.dark[_ngcontent-%COMP%] .props[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {color:#1e1e24!important}.wrapper.dark[_ngcontent-%COMP%] .props[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {color:#43323b!important}.wrapper.dark[_ngcontent-%COMP%] .props[_ngcontent-%COMP%]:hover{background:#F4EEFC}.props[_ngcontent-%COMP%]{border-radius:20px;background:#FFF;box-shadow:0 0 20px #541c411a;padding:20px;display:flex;align-items:center;gap:20px;max-width:48%;width:100%;cursor:pointer}.props[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:60px;height:60px;flex-shrink:0;margin-bottom:0;border-radius:0}.props[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.props[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .title[_ngcontent-%COMP%] {color:#1e1e24;font-family:Prompt;font-size:18px;font-style:normal;font-weight:600;line-height:26px;letter-spacing:.5px;text-transform:capitalize;margin-bottom:2px}.props[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] {color:#43323b;font-family:Assistant;font-size:16px;font-style:normal;font-weight:400;line-height:26px;margin-bottom:0}.props[_ngcontent-%COMP%]:hover{background:#FFECEC}@media (max-width: 680px){.props[_ngcontent-%COMP%]{max-width:100%}}"]
}),
q
}
)()
, J = ( () => {
class q {
static transform(R, X, P, K, M="") {
return (R.match(/\[props]([\S\s]+)\[\/props]/g) || []).forEach( (ne, Pe) => {
const Se = "props-" + M + Pe
, xe = ne.split("[item]").map(oe => oe.match(/([\s\S]+\[\/item])/g) && oe.match(/([\s\S]+\[\/item])/g)?.pop()).filter(oe => oe).map(oe => {
const De = /(?:\[title])([\s\S]+)(?:\[\/title])/g.exec(oe || "")
, me = /(?:\[text])([\s\S]+)(?:\[\/text])/g.exec(oe || "");
return {
title: De && De.pop() || "",
text: me && me.pop() || ""
}
}
);
R = R.replace(/\[props]([\S\s]+)\[\/props]/g, ``),
setTimeout( () => {
const oe = K.getElementById(Se);
if (oe) {
const me = X.resolveComponentFactory(le).create(P.injector, void 0, oe);
me.instance.props = xe,
me.changeDetectorRef.detectChanges()
}
}
, 0)
}
),
R
}
}
return q.\u0275fac = function(R) {
return new (R || q)
}
,
q.\u0275pipe = h.Yjl({
name: "renderProps",
type: q,
pure: !0
}),
q
}
)()
}
,
2549: (Oe, ae, D) => {
"use strict";
D.d(ae, {
M: () => G
});
var h = D(8256)
, w = D(1523);
let A = ( () => {
class U {
constructor(J) {
this.cookieService = J,
this.pros = [],
this.cons = [],
this.isSplit = !1
}
ngOnInit() {
this.isSplit = "dark_theme" === this.cookieService.get("splitMarkerClient")
}
get consTitle() {
return this.cons[0]?.consTitle
}
get prosTitle() {
return this.pros[0]?.prosTitle
}
get prosList() {
return this.pros[0]?.prosList
}
get consList() {
return this.cons[0]?.consList
}
}
return U.\u0275fac = function(J) {
return new (J || U)(h.Y36(w.F))
}
,
U.\u0275cmp = h.Xpm({
type: U,
selectors: [["client-pros-cons-table"]],
inputs: {
pros: "pros",
cons: "cons"
},
decls: 9,
vars: 6,
consts: [[1, "content"], [1, "pros"], [1, "title"], [1, "text", 3, "innerHTML"], [1, "cons"]],
template: function(J, q) {
1 & J && (h.TgZ(0, "div", 0)(1, "div", 1)(2, "h3", 2),
h._uU(3),
h.qZA(),
h._UZ(4, "div", 3),
h.qZA(),
h.TgZ(5, "div", 4)(6, "h3", 2),
h._uU(7),
h.qZA(),
h._UZ(8, "div", 3),
h.qZA()()),
2 & J && (h.ekj("dark", q.isSplit),
h.xp6(3),
h.Oqu(q.prosTitle),
h.xp6(1),
h.Q6J("innerHTML", q.prosList, h.oJD),
h.xp6(3),
h.Oqu(q.consTitle),
h.xp6(1),
h.Q6J("innerHTML", q.consList, h.oJD))
},
styles: ['@import"https://fonts.googleapis.com/css2?family=Prompt:wght@100;200;300;400;500;600;700;800;900&display=swap";.content[_ngcontent-%COMP%]{margin:24px 0;display:flex;justify-content:space-between;gap:20px}.content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%], .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%]{color:#333!important}.content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#1d2333!important}.content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li, .content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li p, .content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li span, .content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ol li, .content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ol li p, .content.dark[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ol li span, .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li, .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li p, .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ul li span, .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ol li, .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ol li p, .content.dark[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .text[_ngcontent-%COMP%] ol li span{color:#333!important}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%]{border-radius:20px;background:#FFF;box-shadow:0 0 20px #541c411a;padding:15px 20px 20px;width:100%;margin-bottom:0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{color:#1d2333;font-family:Prompt;font-size:20px;font-style:normal;font-weight:600;line-height:28px;letter-spacing:.5px;margin-bottom:15px;min-height:28px}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ul, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ol, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ul, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ol{margin-bottom:0;padding-left:0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ul li, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ol li, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ul li, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ol li{list-style:none;color:#333;font-size:16px;font-style:normal;font-weight:400;line-height:24px;padding-left:20px;margin-bottom:6px;margin-left:0}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ul li:before, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ol li:before, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ul li:before, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ol li:before{display:none}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ul li p, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ul li span, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ol li p, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ol li span, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ul li p, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ul li span, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ol li p, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ol li span{color:#333;font-size:16px;font-style:normal;font-weight:400;line-height:24px}.content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ul li, .content[_ngcontent-%COMP%] .pros[_ngcontent-%COMP%] ol li{background:url(/assets/list_item.svg) no-repeat left 4px}.content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ol li, .content[_ngcontent-%COMP%] .cons[_ngcontent-%COMP%] ul li{background:url(/assets/cons_item.svg) no-repeat left 4px}@media (max-width: 678px){.content[_ngcontent-%COMP%]{flex-direction:column}}']
}),
U
}
)()
, G = ( () => {
class U {
static transform(J, q, te, R, X="") {
return (J.match(/\[pros-cons]([\S\s]+)\[\/pros-cons]/g) || []).forEach( (K, M) => {
const B = "pros-cons-" + X + M
, ne = K.split("[pros]").map(Se => Se.match(/([\s\S]+\[\/pros])/g) && Se.match(/([\s\S]+\[\/pros])/g)?.pop()).filter(Se => Se).map(Se => {
const xe = /(?:\[pros-title])([\s\S]+)(?:\[\/pros-title])/g.exec(Se || "")
, oe = /(?:\[pros-list])([\s\S]+)(?:\[\/pros-list])/g.exec(Se || "");
return {
prosTitle: xe && xe.pop() || "",
prosList: oe && oe.pop() || ""
}
}
)
, Pe = K.split("[cons]").map(Se => Se.match(/([\s\S]+\[\/cons])/g) && Se.match(/([\s\S]+\[\/cons])/g)?.pop()).filter(Se => Se).map(Se => {
const xe = /(?:\[cons-title])([\s\S]+)(?:\[\/cons-title])/g.exec(Se || "")
, oe = /(?:\[cons-list])([\s\S]+)(?:\[\/cons-list])/g.exec(Se || "");
return {
consTitle: xe && xe.pop() || "",
consList: oe && oe.pop() || ""
}
}
);
J = J.replace(/\[pros-cons]([\S\s]+)\[\/pros-cons]/g, ``),
setTimeout( () => {
const Se = R.getElementById(B);
if (Se) {
const oe = q.resolveComponentFactory(A).create(te.injector, void 0, Se);
oe.instance.pros = ne,
oe.instance.cons = Pe,
oe.changeDetectorRef.detectChanges()
}
}
, 0)
}
),
J
}
}
return U.\u0275fac = function(J) {
return new (J || U)
}
,
U.\u0275pipe = h.Yjl({
name: "renderProsCons",
type: U,
pure: !0
}),
U
}
)()
}
,
8118: (Oe, ae, D) => {
"use strict";
D.d(ae, {
A: () => G
});
var h = D(1471)
, w = D(8256)
, A = D(1481);
let G = ( () => {
class U {
constructor(J) {
this.sanitizer = J,
this.pageType = h.c
}
transform(J, q) {
return J && (J = J.replace(/.*?<\/script>/gi, "").replace(//gi, ""),
q !== this.pageType.PAGE_PRIVACY && (J = J.replace(/style=".*?"|style='.*?'/gi, "")),
this.sanitizer.bypassSecurityTrustHtml(J))
}
}
return U.\u0275fac = function(J) {
return new (J || U)(w.Y36(A.H7, 16))
}
,
U.\u0275pipe = w.Yjl({
name: "sanitize",
type: U,
pure: !0
}),
U
}
)()
}
,
823: (Oe, ae, D) => {
"use strict";
D.d(ae, {
G: () => R
});
var h = D(1481)
, w = D(9646)
, A = D(8505)
, G = D(262)
, U = D(9698)
, le = D(8256)
, J = D(2639)
, q = D(529)
, te = D(1523);
let R = ( () => {
class X {
constructor(K, M, B, ne) {
this.errorService = K,
this.httpClient = M,
this.cookieService = B,
this.state = ne,
this.CATEGORIES_URL = `${U.k.API_DOMAIN}${U.k.URLS.CATEGORIES_URL}`
}
get(K, M={}) {
const B = (0,
h.Cb)(`category_${K}`)
, ne = this.state.get(B, null);
return ne ? (0,
w.of)({
success: !0,
data: {
...ne
}
}) : this.httpClient.get(this.CATEGORIES_URL + K, {
params: {
...M,
url: K
}
}).pipe((0,
A.b)(Pe => {
Pe.success && Pe.data && this.state.set(B, {
...Pe.data
})
}
), (0,
G.K)(this.errorService.handleError(`get category ${K}`)))
}
list() {
const K = (0,
h.Cb)("categories")
, M = this.state.get(K, null);
return M ? (0,
w.of)({
success: !0,
data: [...M]
}) : this.httpClient.get(this.CATEGORIES_URL + "menus").pipe((0,
A.b)(B => {
B.success && B.data && this.state.set(K, [...B.data])
}
), (0,
G.K)(this.errorService.handleError("list categories")))
}
}
return X.\u0275fac = function(K) {
return new (K || X)(le.LFG(J.T),le.LFG(q.eN),le.LFG(te.F),le.LFG(h.ki))
}
,
X.\u0275prov = le.Yz7({
token: X,
factory: X.\u0275fac
}),
X
}
)()
}
,
6793: (Oe, ae, D) => {
"use strict";
D.d(ae, {
j: () => te
});
var h = D(1481)
, w = D(9646)
, A = D(8505)
, G = D(262)
, U = D(9698)
, le = D(8256)
, J = D(2639)
, q = D(529);
let te = ( () => {
class R {
constructor(P, K, M) {
this.errorService = P,
this.httpClient = K,
this.state = M,
this.PAGES_URL = `${U.k.API_DOMAIN}${U.k.URLS.PAGES_URL}`
}
get(P) {
const K = (0,
h.Cb)(`page_${P}`)
, M = this.state.get(K, null);
return M ? (0,
w.of)({
success: !0,
data: {
...M
}
}) : this.httpClient.get(this.PAGES_URL + P).pipe((0,
A.b)(B => {
B.success && B.data && this.state.set(K, {
...B.data
})
}
), (0,
G.K)(this.errorService.handleError(`get page ${P}`)))
}
}
return R.\u0275fac = function(P) {
return new (P || R)(le.LFG(J.T),le.LFG(q.eN),le.LFG(h.ki))
}
,
R.\u0275prov = le.Yz7({
token: R,
factory: R.\u0275fac
}),
R
}
)()
}
,
2063: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Y: () => te
});
var h = D(1481)
, w = D(9646)
, A = D(8505)
, G = D(262)
, U = D(9698)
, le = D(8256)
, J = D(2639)
, q = D(529);
let te = ( () => {
class R {
constructor(P, K, M) {
this.errorService = P,
this.httpClient = K,
this.state = M,
this.REVIEWS_URL = `${U.k.API_DOMAIN}${U.k.URLS.REVIEWS_URL}`
}
get(P) {
const K = (0,
h.Cb)(`review_${P}`)
, M = this.state.get(K, null);
return M ? (0,
w.of)({
success: !0,
data: {
...M
}
}) : this.httpClient.get(this.REVIEWS_URL + P).pipe((0,
A.b)(B => {
B.success && B.data && this.state.set(K, {
...B.data
})
}
), (0,
G.K)(this.errorService.handleError(`get review ${P}`)))
}
getLink(P, K) {
const M = (0,
h.Cb)(`review_link_${P}_${K}`)
, B = this.state.get(M, null);
return B ? (0,
w.of)({
success: !0,
data: {
...B
}
}) : this.httpClient.get(`${this.REVIEWS_URL}link/${P}`, {
params: {
source: K
}
}).pipe((0,
A.b)(ne => {
ne.success && ne.data && this.state.set(M, {
...ne.data
})
}
), (0,
G.K)(this.errorService.handleError(`get review link ${P}`)))
}
list() {
const P = (0,
h.Cb)("reviews")
, K = this.state.get(P, null);
return K ? (0,
w.of)({
success: !0,
data: [...K]
}) : this.httpClient.get(this.REVIEWS_URL).pipe((0,
A.b)(M => {
M.success && M.data && this.state.set(P, [...M.data])
}
), (0,
G.K)(this.errorService.handleError("get reviews")))
}
topReviews() {
const P = (0,
h.Cb)("top_reviews")
, K = this.state.get(P, null);
return K ? (0,
w.of)({
success: !0,
data: [...K]
}) : this.httpClient.get(`${this.REVIEWS_URL}top`).pipe((0,
A.b)(M => {
M.success && M.data && this.state.set(P, [...M.data])
}
), (0,
G.K)(this.errorService.handleError("top reviews")))
}
}
return R.\u0275fac = function(P) {
return new (P || R)(le.LFG(J.T),le.LFG(q.eN),le.LFG(h.ki))
}
,
R.\u0275prov = le.Yz7({
token: R,
factory: R.\u0275fac
}),
R
}
)()
}
,
2639: (Oe, ae, D) => {
"use strict";
D.d(ae, {
T: () => U
});
var h = D(9646)
, w = D(2340)
, A = D(8256)
, G = D(5542);
let U = ( () => {
class le {
constructor(q) {
this.objectViewPipe = q
}
handleError(q="operation") {
return te => (w.N.production || console.log(`${q} failed: ${this.objectViewPipe.transform(te.error || te)}`),
(0,
h.of)(te.error || te))
}
}
return le.\u0275fac = function(q) {
return new (q || le)(A.LFG(G.D))
}
,
le.\u0275prov = A.Yz7({
token: le,
factory: le.\u0275fac
}),
le
}
)()
}
,
7627: (Oe, ae, D) => {
"use strict";
D.d(ae, {
m: () => pe
});
var h = D(6895)
, w = D(1226)
, A = D(8256);
let G = ( () => {
class L {
transform(N, Re=50) {
return !N || N.length < Re ? N : N.slice(0, Re) + "..."
}
}
return L.\u0275fac = function(N) {
return new (N || L)
}
,
L.\u0275pipe = A.Yjl({
name: "cutDots",
type: L,
pure: !0
}),
L
}
)()
, U = ( () => {
class L {
transform(N) {
return (N.match(//gi) || []).forEach(fe => {
N = N.replace(fe, fe.replace("src", "data-src"))
}
),
N
}
}
return L.\u0275fac = function(N) {
return new (N || L)
}
,
L.\u0275pipe = A.Yjl({
name: "lazyLoadingImages",
type: L,
pure: !0
}),
L
}
)();
var le = D(5542)
, J = D(7270)
, q = D(820)
, te = D(4233)
, R = D(2549)
, X = D(8118)
, P = D(1481);
let K = ( () => {
class L {
constructor(N) {
this.sanitizer = N
}
transform(N) {
return this.sanitizer.bypassSecurityTrustStyle(N)
}
}
return L.\u0275fac = function(N) {
return new (N || L)(A.Y36(P.H7, 16))
}
,
L.\u0275pipe = A.Yjl({
name: "sanitizeStyle",
type: L,
pure: !0
}),
L
}
)();
var M = D(9646)
, B = D(8505)
, ne = D(262)
, Pe = D(9698)
, Se = D(2639)
, xe = D(529);
let oe = ( () => {
class L {
constructor(N, Re, fe) {
this.errorService = N,
this.httpClient = Re,
this.state = fe,
this.CATEGORIES_COMMENTS_URL = `${Pe.k.API_DOMAIN}${Pe.k.URLS.CATEGORIES_COMMENTS_URL}`
}
list() {
const N = (0,
P.Cb)("comments")
, Re = this.state.get(N, null);
return Re ? (0,
M.of)({
success: !0,
data: [...Re]
}) : this.httpClient.get(this.CATEGORIES_COMMENTS_URL).pipe((0,
B.b)(fe => {
fe.success && fe.data && this.state.set(N, [...fe.data])
}
), (0,
ne.K)(this.errorService.handleError("list comments")))
}
}
return L.\u0275fac = function(N) {
return new (N || L)(A.LFG(Se.T),A.LFG(xe.eN),A.LFG(P.ki))
}
,
L.\u0275prov = A.Yz7({
token: L,
factory: L.\u0275fac
}),
L
}
)();
var De = D(823);
let ve = ( () => {
class L extends class me {
constructor(_e, N, Re, fe) {
this.httpClient = _e,
this.errorService = N,
this.url = Re,
this.name = fe
}
create(_e) {
return this.httpClient.post(this.url, _e).pipe((0,
ne.K)(this.errorService.handleError(`create ${this.name}`)))
}
}
{
constructor(N, Re) {
super(N, Re, `${Pe.k.API_DOMAIN}${Pe.k.URLS.COOKIES_BANNER_URL}`, "cookies-banner")
}
}
return L.\u0275fac = function(N) {
return new (N || L)(A.LFG(xe.eN),A.LFG(Se.T))
}
,
L.\u0275prov = A.Yz7({
token: L,
factory: L.\u0275fac,
providedIn: "root"
}),
L
}
)();
var Q = D(6793)
, V = D(1523);
let Z = ( () => {
class L {
constructor(N, Re, fe) {
this.errorService = N,
this.httpClient = Re,
this.cookieService = fe,
this.PUSH_NOTIFICATION_URL = `${Pe.k.API_DOMAIN}${Pe.k.URLS.PUSH_NOTIFICATION}`
}
getPayload() {
const N = JSON.parse(this.cookieService.get("query") || "{}");
return {
partner: N.gclid || N.wbraid || N.msclkid || N.gbraids,
source: "87",
split: this.cookieService.get("splitMarkerClient") || this.cookieService.get("splitMarker"),
browserLanguage: navigator?.language || "unknown",
trafficType: this.cookieService.get("trafficType") || "search"
}
}
sendEvent(N) {
return this.httpClient.post(this.PUSH_NOTIFICATION_URL + N, this.getPayload()).pipe((0,
ne.K)(this.errorService.handleError(`send event ${N}`)))
}
subscribe(N) {
return this.httpClient.post(this.PUSH_NOTIFICATION_URL + "subscribe", {
...this.getPayload(),
token: N
}).pipe((0,
ne.K)(this.errorService.handleError("subscribe")))
}
}
return L.\u0275fac = function(N) {
return new (N || L)(A.LFG(Se.T),A.LFG(xe.eN),A.LFG(V.F))
}
,
L.\u0275prov = A.Yz7({
token: L,
factory: L.\u0275fac
}),
L
}
)();
var z = D(2063);
let pe = ( () => {
class L {
}
return L.\u0275fac = function(N) {
return new (N || L)
}
,
L.\u0275mod = A.oAB({
type: L
}),
L.\u0275inj = A.cJS({
providers: [le.D, U, X.A, K, G, q.U, te.Q, R.M, J.L, Se.T, De.G, Q.j, z.Y, oe, ve, Z],
imports: [h.ez, w.Bz, w.Bz]
}),
L
}
)()
}
,
8099: (Oe, ae, D) => {
"use strict";
D.d(ae, {
y: () => Re
});
var w, h = D(5861), A = new Uint8Array(16);
function G() {
if (!w && !(w = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto) || typeof msCrypto < "u" && "function" == typeof msCrypto.getRandomValues && msCrypto.getRandomValues.bind(msCrypto)))
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
return w(A)
}
const U = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i
, J = function le(fe) {
return "string" == typeof fe && U.test(fe)
};
for (var q = [], te = 0; te < 256; ++te)
q.push((te + 256).toString(16).substr(1));
const K = function P(fe, Ne, Le) {
var W = (fe = fe || {}).random || (fe.rng || G)();
if (W[6] = 15 & W[6] | 64,
W[8] = 63 & W[8] | 128,
Ne) {
Le = Le || 0;
for (var j = 0; j < 16; ++j)
Ne[Le + j] = W[j];
return Ne
}
return function R(fe) {
var Ne = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : 0
, Le = (q[fe[Ne + 0]] + q[fe[Ne + 1]] + q[fe[Ne + 2]] + q[fe[Ne + 3]] + "-" + q[fe[Ne + 4]] + q[fe[Ne + 5]] + "-" + q[fe[Ne + 6]] + q[fe[Ne + 7]] + "-" + q[fe[Ne + 8]] + q[fe[Ne + 9]] + "-" + q[fe[Ne + 10]] + q[fe[Ne + 11]] + q[fe[Ne + 12]] + q[fe[Ne + 13]] + q[fe[Ne + 14]] + q[fe[Ne + 15]]).toLowerCase();
if (!J(Le))
throw TypeError("Stringified UUID is invalid");
return Le
}(W)
};
var M = D(1520)
, B = D(9646)
, ne = D(6805)
, Se = D(262)
, xe = D(9698)
, oe = ( () => {
return (fe = oe || (oe = {})).ERROR = "error",
fe.PROXY = "proxy",
fe.VNP = "vpn",
fe.REAL = "real",
fe.NOT_DETECTED = "not_detected",
fe.BOT = "bot",
oe;
var fe
}
)()
, me = ( () => {
return (fe = me || (me = {})).Opera = "Opera",
fe.Safari = "Safari",
fe.Edge = "Edge",
fe.Chrome = "Chrome",
fe.Firefox = "Firefox",
fe.IE = "IE",
fe.Browser360 = "Browser360",
fe.Samsung = "Samsung",
fe.Android = "Android",
fe.Brave = "Brave",
fe.Chromium = "Chromium",
fe.Mozilla = "Mozilla",
fe.Unknown = "Unknown",
me;
var fe
}
)()
, ve = D(5834);
function Q() {
if (!navigator)
throw new Error("Detect os navigator does not exist");
{
const fe = navigator.userAgent;
switch (new ve.UAParser(fe).getBrowser()?.name) {
case "Chrome WebView":
case "Chrome":
return me.Chrome;
case "360 Browser":
return me.Browser360;
case "Android Browser":
return me.Android;
case "Brave":
return me.Brave;
case "Chromium":
return me.Chromium;
case "Edge":
return me.Edge;
case "Samsung Internet":
return me.Samsung;
case "Mozilla":
return me.Mozilla;
case "Opera Coast":
case "Opera [Mini/Mobi/Tablet]":
case "Opera":
return me.Opera;
case "Mobile Safari":
case "Safari":
return me.Safari;
case "Firefox":
case "Firefox [Focus/Reality]":
return me.Firefox;
default:
return me.Unknown
}
}
}
var V = ( () => {
return (fe = V || (V = {})).Windows = "Windows",
fe.Android = "Android",
fe.IOS = "IOS",
fe.Chromium = "Chromium",
fe.Firefox = "Firefox",
fe.MacOs = "MacOs",
fe.Other = "Other",
V;
var fe
}
)();
function Z() {
if (!navigator)
throw new Error("Detect os navigator does not exist");
{
const fe = navigator.userAgent;
switch (new ve.UAParser(fe).getOS()?.name) {
case "Android":
return V.Android;
case "iOS":
return V.IOS;
case "Windows":
return V.Windows;
case "Chromium OS":
return V.Chromium;
case "Firefox OS":
return V.Firefox;
case "Mac OS":
return V.MacOs;
default:
return V.Other
}
}
}
function pe(fe) {
return fe.gclid || fe.gbraid || fe.wbraid || fe.msclkid
}
var L = D(8256)
, _e = D(1523)
, N = D(529);
let Re = ( () => {
class fe {
constructor(Le, W) {
this.cookieService = Le,
this.httpClient = W,
this.IMPRESSION_URL = `${xe.k.API_DOMAIN}${xe.k.URLS.ANALYTICS.IMPRESSION_EVENT_URL}`,
this.VISIT_URL = `${xe.k.API_DOMAIN}${xe.k.URLS.ANALYTICS.VISIT_EVENT_URL}`,
this.USER_EVENTS_URL = `${xe.k.API_DOMAIN}${xe.k.URLS.ANALYTICS.USER_EVENTS_URL}`
}
get splitMarker() {
return this.cookieService.get("splitMarkerClient") || this.cookieService.get("splitMarker")
}
get splitMarkerClient() {
return this.cookieService.get("splitMarkerClient")
}
setSplitMarkerClient(Le) {
this.cookieService.put("splitMarkerClient", Le)
}
get userId() {
let Le = this.cookieService.get("userId");
return Le || (Le = K(),
this.cookieService.put("userId", Le)),
Le
}
get trafficSourceData() {
return JSON.parse(this.cookieService.get("query") || "{}")
}
upsertTrafficSourceData(Le) {
const j = {
...JSON.parse(this.cookieService.get("query") || "{}"),
...Le
};
j.gbraid = Le.gbraid && `${Le.gbraid}---${this.userId}` || "",
j.wbraid = Le.wbraid && `${Le.wbraid}---${this.userId}` || "",
this.cookieService.put("query", JSON.stringify(j))
}
getQueryParamsForRedirect(Le) {
const W = {
...this.trafficSourceData,
...Le,
split: this.splitMarker,
ipCheck: this.cookieService.get("check") || oe.NOT_DETECTED,
placement: this.trafficSourceData.gbraid || this.trafficSourceData.wbraid || this.userId
};
return Object.keys(W).reduce( (j, re) => (j ? j + "&" : "") + `${re}=${W[re]}`, "")
}
sendImpression(Le, W) {
const j = this.cookieService.get("sendImpression")
, re = this.trafficSourceData
, ce = pe(re);
j !== ce && (j && (re.retarget = j),
re.offers = W,
re.page = Le,
re.split = this.splitMarker,
re.userId = this.userId,
re.fingerprint = M.sha256.hex(`${( () => {
if (window && navigator && screen) {
const fe = navigator.userAgent || ""
, Ne = navigator.languages?.join("");
return [fe, Ne, window.devicePixelRatio || 0, (new Date).getTimezoneOffset() || 0, `${screen.availWidth}x${screen.availHeight}`, navigator.hardwareConcurrency || 0, navigator.deviceMemory?.toString() || 0, navigator.maxTouchPoints || 0, navigator.cookieEnabled].reduce( (He, We) => `${He}_${We.toString()}`, "")
}
return ""
}
)()}___ ${( () => {
const fe = document?.createElement("canvas")
, Ne = fe?.getContext("2d");
if (Ne) {
Ne.textBaseline = "top",
Ne.font = "14px 'Arial'",
Ne.textBaseline = "alphabetic",
Ne.fillStyle = "#f60",
Ne.fillRect(125, 1, 62, 20),
Ne.fillStyle = "#069",
Ne.fillText("adw-fingerprint", 2, 15),
Ne.fillStyle = "rgba(102, 204, 0, 0.7)",
Ne.fillText("adw-fingerprint", 4, 17);
const Le = fe.toDataURL();
return fe.remove(),
Le
}
return ""
}
)()}`),
this.httpClient.get(this.IMPRESSION_URL, {
params: re
}).pipe((0,
Se.K)(Me => (console.log(JSON.stringify(Me)),
(0,
B.of)(Me.error)))).subscribe(Me => {
Me.success && this.cookieService.put("sendImpression", ce || "")
}
))
}
sendVisit(Le, W) {
var j = this;
return (0,
h.Z)(function*() {
const re = j.trafficSourceData;
return function Pe(fe, Ne) {
const Le = "object" == typeof Ne;
return new Promise( (W, j) => {
let ce, re = !1;
fe.subscribe({
next: Me => {
ce = Me,
re = !0
}
,
error: j,
complete: () => {
re ? W(ce) : Le ? W(Ne.defaultValue) : j(new ne.K)
}
})
}
)
}(j.httpClient.get(j.VISIT_URL, {
params: {
offer: Le || "",
source: re.source,
sourceClid: pe(re),
position: W.pos || W.position,
page: W.page,
split: j.splitMarker,
userId: j.userId
}
}).pipe((0,
Se.K)(ce => (console.log(JSON.stringify(ce)),
(0,
B.of)(ce.error)))))
})()
}
sendEvent(Le) {
const j = pe(this.trafficSourceData);
if (!j || !this.userId)
return;
const re = {
name: Le,
clickId: j,
userId: this.userId,
os: Z(),
browser: Q()
};
return !!navigator?.sendBeacon && navigator.sendBeacon(this.USER_EVENTS_URL, new Blob([JSON.stringify(re)],{
type: "application/json"
}))
}
}
return fe.\u0275fac = function(Le) {
return new (Le || fe)(L.LFG(_e.F),L.LFG(N.eN))
}
,
fe.\u0275prov = L.Yz7({
token: fe,
factory: fe.\u0275fac
}),
fe
}
)()
}
,
1914: (Oe, ae, D) => {
"use strict";
D.d(ae, {
I: () => A
});
var h = D(1135)
, w = D(8256);
let A = ( () => {
class G {
constructor() {
this.isShowPushNotification = new h.X(!1),
this.isDarkTheme = new h.X(!1)
}
handlePushNotification(le) {
this.isShowPushNotification.next(le)
}
handleDarkTheme(le) {
this.isDarkTheme.next(le)
}
}
return G.\u0275fac = function(le) {
return new (le || G)
}
,
G.\u0275prov = w.Yz7({
token: G,
factory: G.\u0275fac
}),
G
}
)()
}
,
1523: (Oe, ae, D) => {
"use strict";
D.d(ae, {
F: () => A
});
var h = D(9698)
, w = D(8256);
let A = ( () => {
class G {
constructor() {}
get(le) {
const J = document && document.cookie && document.cookie.match(new RegExp("(?:^|; )" + le.replace(/([.$?*|{}()\[\]\\\/+^])/g, "\\$1") + "=([^;]*)"));
return J && J.length ? decodeURIComponent(J[1]) : ""
}
getAll() {
return document && document.cookie && document.cookie
}
put(le, J, q={
path: "/",
domain: h.k.ROOT_DOMAIN_NAME
}) {
let te = `${le}=${encodeURIComponent(J)}`;
for (const R in q)
if (q.hasOwnProperty(R)) {
te += "; " + R;
const X = q[R];
!0 !== X && (te += "=" + X)
}
document.cookie = te
}
putMany(le, J={
path: "/",
domain: h.k.ROOT_DOMAIN_NAME
}) {
let q = Object.keys(le).reduce( (te, R) => te + `${R}=${encodeURIComponent(le[R])};`, "");
for (const te in J)
if (J.hasOwnProperty(te)) {
q += "; " + te;
const R = J[te];
!0 !== R && (q += "=" + R)
}
document.cookie = q
}
}
return G.\u0275fac = function(le) {
return new (le || G)
}
,
G.\u0275prov = w.Yz7({
token: G,
factory: G.\u0275fac
}),
G
}
)()
}
,
8257: (Oe, ae, D) => {
"use strict";
D.d(ae, {
R: () => G
});
var h = D(6895)
, w = D(8256)
, A = D(1481);
let G = ( () => {
class U {
constructor(J, q, te) {
this.meta = J,
this.metaTitle = q,
this.doc = te
}
set(J, q, te) {
q.url.includes(te) || (q.url = te + q.url),
q.image && !q.image.includes(te) && (q.image = te + q.image),
this.metaTitle.setTitle(J.title),
this.meta.removeTag("name='twitter:image'"),
this.meta.removeTag("property='og:image'"),
[{
name: "description",
content: J.title || ""
}, {
property: "og:site_name",
content: te || ""
}, {
property: "og:url",
content: q.url || ""
}, {
property: "og:title",
content: J.title || ""
}, {
name: "twitter:card",
content: "summary"
}, {
name: "twitter:title",
content: J.title || ""
}].forEach(P => this.meta.updateTag(P)),
this.meta.removeTag("name='robots'"),
q.noindex && this.meta.addTag({
name: "robots",
content: "noindex,follow"
}),
q.image && this.meta.addTags([{
property: "og:image",
content: q.image
}, {
name: "twitter:image",
content: q.image
}]);
let X = this.doc.querySelector('[rel="canonical"]');
X || (X = this.doc.createElement("link"),
X.setAttribute("rel", "canonical"),
this.doc.head.appendChild(X)),
X.setAttribute("href", q.url)
}
}
return U.\u0275fac = function(J) {
return new (J || U)(w.LFG(A.h_),w.LFG(A.Dx),w.LFG(h.K0))
}
,
U.\u0275prov = w.Yz7({
token: U,
factory: U.\u0275fac
}),
U
}
)()
}
,
2340: (Oe, ae, D) => {
"use strict";
D.d(ae, {
N: () => h
});
const h = {
production: !0,
stage: !1
}
}
,
9077: (Oe, ae, D) => {
"use strict";
var h = D(1481)
, w = D(8256)
, A = D(1226)
, G = D(5861)
, U = D(8099);
let le = ( () => {
class z {
constructor(L, _e) {
this.activatedRoute = L,
this.analyticsService = _e
}
ngOnInit() {
var L = this;
this.activatedRoute.data.subscribe(function() {
var _e = (0,
G.Z)(function*(N) {
const {queryParams: Re} = L.activatedRoute.snapshot;
yield L.analyticsService.sendVisit(N?.review?.clickRedirect || "", Re),
window.location.href = N.review?.defaultLink || ""
});
return function(N) {
return _e.apply(this, arguments)
}
}())
}
}
return z.\u0275fac = function(L) {
return new (L || z)(w.Y36(A.gz),w.Y36(U.y))
}
,
z.\u0275cmp = w.Xpm({
type: z,
selectors: [["client-go"]],
decls: 0,
vars: 0,
template: function(L, _e) {},
encapsulation: 2
}),
z
}
)();
var J = D(9646)
, q = D(515)
, te = D(2722)
, R = D(5577)
, X = D(7579)
, P = D(2063)
, K = D(1523);
let M = ( () => {
class z {
constructor(L, _e, N, Re) {
this.reviewsService = L,
this.router = _e,
this.cookieService = N,
this.analyticsService = Re,
this.destroy = new X.x
}
resolve(L, _e) {
const N = L.paramMap.get("url") || ""
, {queryParams: Re} = L;
return this.reviewsService.getLink(N, this.analyticsService.trafficSourceData.source).pipe((0,
te.R)(this.destroy), (0,
R.z)(Ne => {
if (Ne.success && Ne.data && Ne.data.defaultLink) {
const Le = Ne.data.defaultLink;
return Ne.data.defaultLink = `${Le}${Le.includes("?") ? "&" : "?"}${this.analyticsService.getQueryParamsForRedirect(Re)}`,
(0,
J.of)(Ne.data)
}
return this.router.navigate(["/notfound"], {
skipLocationChange: !0,
queryParams: {
url: _e.url
}
}),
q.E
}
))
}
ngOnDestroy() {
this.destroy.next(!0),
this.destroy.complete()
}
}
return z.\u0275fac = function(L) {
return new (L || z)(w.LFG(P.Y),w.LFG(A.F0),w.LFG(K.F),w.LFG(U.y))
}
,
z.\u0275prov = w.Yz7({
token: z,
factory: z.\u0275fac
}),
z
}
)();
const B = [{
path: "go/:url",
component: le,
resolve: {
review: M
}
}, {
path: "",
loadChildren: () => D.e(348).then(D.bind(D, 348)).then(z => z.MainModule)
}];
let ne = ( () => {
class z {
}
return z.\u0275fac = function(L) {
return new (L || z)
}
,
z.\u0275mod = w.oAB({
type: z
}),
z.\u0275inj = w.cJS({
imports: [A.Bz.forRoot(B), A.Bz]
}),
z
}
)();
var Pe = D(529);
let Se = ( () => {
class z {
}
return z.\u0275fac = function(L) {
return new (L || z)
}
,
z.\u0275cmp = w.Xpm({
type: z,
selectors: [["client-root"]],
decls: 1,
vars: 0,
template: function(L, _e) {
1 & L && w._UZ(0, "router-outlet")
},
dependencies: [A.lC],
encapsulation: 2
}),
z
}
)();
var xe = D(7627)
, oe = D(1914)
, De = D(4004);
const ve = [{
provide: Pe.TP,
useClass: ( () => {
class z {
constructor(L) {
this.cookieService = L
}
intercept(L, _e) {
let N = L.clone({
withCredentials: !0
});
return _e.handle(N).pipe((0,
De.U)(Re => {
if (Re instanceof Pe.Zn) {
const fe = Re.headers.get("x-set-custom-data");
if (fe) {
const Ne = JSON.parse(fe);
this.cookieService.putMany(Ne)
}
}
return Re
}
))
}
}
return z.\u0275fac = function(L) {
return new (L || z)(w.LFG(K.F))
}
,
z.\u0275prov = w.Yz7({
token: z,
factory: z.\u0275fac
}),
z
}
)(),
multi: !0
}];
var Q = D(8257);
let V = ( () => {
class z {
}
return z.\u0275fac = function(L) {
return new (L || z)
}
,
z.\u0275mod = w.oAB({
type: z,
bootstrap: [Se]
}),
z.\u0275inj = w.cJS({
providers: [M, K.F, Q.R, oe.I, ve, U.y],
imports: [ne, h.b2, Pe.JF, xe.m, A.Bz]
}),
z
}
)();
D(2340).N.production && (0,
w.G48)(),
h.q6().bootstrapModule(V).catch(z => console.error(z))
}
,
1520: (Oe, ae, D) => {
var h;
!function() {
"use strict";
var w = "input is invalid type"
, A = "object" == typeof window
, G = A ? window : {};
G.JS_SHA256_NO_WINDOW && (A = !1);
var U = !A && "object" == typeof self
, le = !G.JS_SHA256_NO_NODE_JS && "object" == typeof process && process.versions && process.versions.node;
le ? G = global : U && (G = self);
var J = !G.JS_SHA256_NO_COMMON_JS && Oe.exports
, q = D.amdO
, te = !G.JS_SHA256_NO_ARRAY_BUFFER && typeof ArrayBuffer < "u"
, R = "0123456789abcdef".split("")
, X = [-2147483648, 8388608, 32768, 128]
, P = [24, 16, 8, 0]
, K = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]
, M = ["hex", "array", "digest", "arrayBuffer"]
, B = [];
(G.JS_SHA256_NO_NODE_JS || !Array.isArray) && (Array.isArray = function(Q) {
return "[object Array]" === Object.prototype.toString.call(Q)
}
),
te && (G.JS_SHA256_NO_ARRAY_BUFFER_IS_VIEW || !ArrayBuffer.isView) && (ArrayBuffer.isView = function(Q) {
return "object" == typeof Q && Q.buffer && Q.buffer.constructor === ArrayBuffer
}
);
var ne = function(Q, V) {
return function(Z) {
return new De(V,!0).update(Z)[Q]()
}
}
, Pe = function(Q) {
var V = ne("hex", Q);
le && (V = Se(V, Q)),
V.create = function() {
return new De(Q)
}
,
V.update = function(pe) {
return V.create().update(pe)
}
;
for (var Z = 0; Z < M.length; ++Z) {
var z = M[Z];
V[z] = ne(z, Q)
}
return V
}
, Se = function(Q, V) {
var L, Z = D(6127), z = D(1371).Buffer, pe = V ? "sha224" : "sha256";
return L = z.from && !G.JS_SHA256_NO_BUFFER_FROM ? z.from : function(N) {
return new z(N)
}
,
function(N) {
if ("string" == typeof N)
return Z.createHash(pe).update(N, "utf8").digest("hex");
if (null == N)
throw new Error(w);
return N.constructor === ArrayBuffer && (N = new Uint8Array(N)),
Array.isArray(N) || ArrayBuffer.isView(N) || N.constructor === z ? Z.createHash(pe).update(L(N)).digest("hex") : Q(N)
}
}
, xe = function(Q, V) {
return function(Z, z) {
return new me(Z,V,!0).update(z)[Q]()
}
}
, oe = function(Q) {
var V = xe("hex", Q);
V.create = function(pe) {
return new me(pe,Q)
}
,
V.update = function(pe, L) {
return V.create(pe).update(L)
}
;
for (var Z = 0; Z < M.length; ++Z) {
var z = M[Z];
V[z] = xe(z, Q)
}
return V
};
function De(Q, V) {
V ? (B[0] = B[16] = B[1] = B[2] = B[3] = B[4] = B[5] = B[6] = B[7] = B[8] = B[9] = B[10] = B[11] = B[12] = B[13] = B[14] = B[15] = 0,
this.blocks = B) : this.blocks = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
Q ? (this.h0 = 3238371032,
this.h1 = 914150663,
this.h2 = 812702999,
this.h3 = 4144912697,
this.h4 = 4290775857,
this.h5 = 1750603025,
this.h6 = 1694076839,
this.h7 = 3204075428) : (this.h0 = 1779033703,
this.h1 = 3144134277,
this.h2 = 1013904242,
this.h3 = 2773480762,
this.h4 = 1359893119,
this.h5 = 2600822924,
this.h6 = 528734635,
this.h7 = 1541459225),
this.block = this.start = this.bytes = this.hBytes = 0,
this.finalized = this.hashed = !1,
this.first = !0,
this.is224 = Q
}
function me(Q, V, Z) {
var z, pe = typeof Q;
if ("string" === pe) {
var Re, L = [], _e = Q.length, N = 0;
for (z = 0; z < _e; ++z)
(Re = Q.charCodeAt(z)) < 128 ? L[N++] = Re : Re < 2048 ? (L[N++] = 192 | Re >>> 6,
L[N++] = 128 | 63 & Re) : Re < 55296 || Re >= 57344 ? (L[N++] = 224 | Re >>> 12,
L[N++] = 128 | Re >>> 6 & 63,
L[N++] = 128 | 63 & Re) : (Re = 65536 + ((1023 & Re) << 10 | 1023 & Q.charCodeAt(++z)),
L[N++] = 240 | Re >>> 18,
L[N++] = 128 | Re >>> 12 & 63,
L[N++] = 128 | Re >>> 6 & 63,
L[N++] = 128 | 63 & Re);
Q = L
} else {
if ("object" !== pe)
throw new Error(w);
if (null === Q)
throw new Error(w);
if (te && Q.constructor === ArrayBuffer)
Q = new Uint8Array(Q);
else if (!(Array.isArray(Q) || te && ArrayBuffer.isView(Q)))
throw new Error(w)
}
Q.length > 64 && (Q = new De(V,!0).update(Q).array());
var fe = []
, Ne = [];
for (z = 0; z < 64; ++z) {
var Le = Q[z] || 0;
fe[z] = 92 ^ Le,
Ne[z] = 54 ^ Le
}
De.call(this, V, Z),
this.update(Ne),
this.oKeyPad = fe,
this.inner = !0,
this.sharedMemory = Z
}
De.prototype.update = function(Q) {
if (!this.finalized) {
var V, Z = typeof Q;
if ("string" !== Z) {
if ("object" !== Z)
throw new Error(w);
if (null === Q)
throw new Error(w);
if (te && Q.constructor === ArrayBuffer)
Q = new Uint8Array(Q);
else if (!(Array.isArray(Q) || te && ArrayBuffer.isView(Q)))
throw new Error(w);
V = !0
}
for (var z, L, pe = 0, _e = Q.length, N = this.blocks; pe < _e; ) {
if (this.hashed && (this.hashed = !1,
N[0] = this.block,
this.block = N[16] = N[1] = N[2] = N[3] = N[4] = N[5] = N[6] = N[7] = N[8] = N[9] = N[10] = N[11] = N[12] = N[13] = N[14] = N[15] = 0),
V)
for (L = this.start; pe < _e && L < 64; ++pe)
N[L >>> 2] |= Q[pe] << P[3 & L++];
else
for (L = this.start; pe < _e && L < 64; ++pe)
(z = Q.charCodeAt(pe)) < 128 ? N[L >>> 2] |= z << P[3 & L++] : z < 2048 ? (N[L >>> 2] |= (192 | z >>> 6) << P[3 & L++],
N[L >>> 2] |= (128 | 63 & z) << P[3 & L++]) : z < 55296 || z >= 57344 ? (N[L >>> 2] |= (224 | z >>> 12) << P[3 & L++],
N[L >>> 2] |= (128 | z >>> 6 & 63) << P[3 & L++],
N[L >>> 2] |= (128 | 63 & z) << P[3 & L++]) : (z = 65536 + ((1023 & z) << 10 | 1023 & Q.charCodeAt(++pe)),
N[L >>> 2] |= (240 | z >>> 18) << P[3 & L++],
N[L >>> 2] |= (128 | z >>> 12 & 63) << P[3 & L++],
N[L >>> 2] |= (128 | z >>> 6 & 63) << P[3 & L++],
N[L >>> 2] |= (128 | 63 & z) << P[3 & L++]);
this.lastByteIndex = L,
this.bytes += L - this.start,
L >= 64 ? (this.block = N[16],
this.start = L - 64,
this.hash(),
this.hashed = !0) : this.start = L
}
return this.bytes > 4294967295 && (this.hBytes += this.bytes / 4294967296 << 0,
this.bytes = this.bytes % 4294967296),
this
}
}
,
De.prototype.finalize = function() {
if (!this.finalized) {
this.finalized = !0;
var Q = this.blocks
, V = this.lastByteIndex;
Q[16] = this.block,
Q[V >>> 2] |= X[3 & V],
this.block = Q[16],
V >= 56 && (this.hashed || this.hash(),
Q[0] = this.block,
Q[16] = Q[1] = Q[2] = Q[3] = Q[4] = Q[5] = Q[6] = Q[7] = Q[8] = Q[9] = Q[10] = Q[11] = Q[12] = Q[13] = Q[14] = Q[15] = 0),
Q[14] = this.hBytes << 3 | this.bytes >>> 29,
Q[15] = this.bytes << 3,
this.hash()
}
}
,
De.prototype.hash = function() {
var fe, j, Me, Ee, He, We, Q = this.h0, V = this.h1, Z = this.h2, z = this.h3, pe = this.h4, L = this.h5, _e = this.h6, N = this.h7, Re = this.blocks;
for (fe = 16; fe < 64; ++fe)
Re[fe] = Re[fe - 16] + (((j = Re[fe - 15]) >>> 7 | j << 25) ^ (j >>> 18 | j << 14) ^ j >>> 3) + Re[fe - 7] + (((j = Re[fe - 2]) >>> 17 | j << 15) ^ (j >>> 19 | j << 13) ^ j >>> 10) << 0;
for (We = V & Z,
fe = 0; fe < 64; fe += 4)
this.first ? (this.is224 ? (Me = 300032,
N = (j = Re[0] - 1413257819) - 150054599 << 0,
z = j + 24177077 << 0) : (Me = 704751109,
N = (j = Re[0] - 210244248) - 1521486534 << 0,
z = j + 143694565 << 0),
this.first = !1) : (N = z + (j = N + ((pe >>> 6 | pe << 26) ^ (pe >>> 11 | pe << 21) ^ (pe >>> 25 | pe << 7)) + (pe & L ^ ~pe & _e) + K[fe] + Re[fe]) << 0,
z = j + (((Q >>> 2 | Q << 30) ^ (Q >>> 13 | Q << 19) ^ (Q >>> 22 | Q << 10)) + ((Me = Q & V) ^ Q & Z ^ We)) << 0),
_e = Z + (j = _e + ((N >>> 6 | N << 26) ^ (N >>> 11 | N << 21) ^ (N >>> 25 | N << 7)) + (N & pe ^ ~N & L) + K[fe + 1] + Re[fe + 1]) << 0,
Z = j + (((z >>> 2 | z << 30) ^ (z >>> 13 | z << 19) ^ (z >>> 22 | z << 10)) + ((Ee = z & Q) ^ z & V ^ Me)) << 0,
L = V + (j = L + ((_e >>> 6 | _e << 26) ^ (_e >>> 11 | _e << 21) ^ (_e >>> 25 | _e << 7)) + (_e & N ^ ~_e & pe) + K[fe + 2] + Re[fe + 2]) << 0,
V = j + (((Z >>> 2 | Z << 30) ^ (Z >>> 13 | Z << 19) ^ (Z >>> 22 | Z << 10)) + ((He = Z & z) ^ Z & Q ^ Ee)) << 0,
pe = Q + (j = pe + ((L >>> 6 | L << 26) ^ (L >>> 11 | L << 21) ^ (L >>> 25 | L << 7)) + (L & _e ^ ~L & N) + K[fe + 3] + Re[fe + 3]) << 0,
Q = j + (((V >>> 2 | V << 30) ^ (V >>> 13 | V << 19) ^ (V >>> 22 | V << 10)) + ((We = V & Z) ^ V & z ^ He)) << 0,
this.chromeBugWorkAround = !0;
this.h0 = this.h0 + Q << 0,
this.h1 = this.h1 + V << 0,
this.h2 = this.h2 + Z << 0,
this.h3 = this.h3 + z << 0,
this.h4 = this.h4 + pe << 0,
this.h5 = this.h5 + L << 0,
this.h6 = this.h6 + _e << 0,
this.h7 = this.h7 + N << 0
}
,
De.prototype.toString = De.prototype.hex = function() {
this.finalize();
var Q = this.h0
, V = this.h1
, Z = this.h2
, z = this.h3
, pe = this.h4
, L = this.h5
, _e = this.h6
, N = this.h7
, Re = R[Q >>> 28 & 15] + R[Q >>> 24 & 15] + R[Q >>> 20 & 15] + R[Q >>> 16 & 15] + R[Q >>> 12 & 15] + R[Q >>> 8 & 15] + R[Q >>> 4 & 15] + R[15 & Q] + R[V >>> 28 & 15] + R[V >>> 24 & 15] + R[V >>> 20 & 15] + R[V >>> 16 & 15] + R[V >>> 12 & 15] + R[V >>> 8 & 15] + R[V >>> 4 & 15] + R[15 & V] + R[Z >>> 28 & 15] + R[Z >>> 24 & 15] + R[Z >>> 20 & 15] + R[Z >>> 16 & 15] + R[Z >>> 12 & 15] + R[Z >>> 8 & 15] + R[Z >>> 4 & 15] + R[15 & Z] + R[z >>> 28 & 15] + R[z >>> 24 & 15] + R[z >>> 20 & 15] + R[z >>> 16 & 15] + R[z >>> 12 & 15] + R[z >>> 8 & 15] + R[z >>> 4 & 15] + R[15 & z] + R[pe >>> 28 & 15] + R[pe >>> 24 & 15] + R[pe >>> 20 & 15] + R[pe >>> 16 & 15] + R[pe >>> 12 & 15] + R[pe >>> 8 & 15] + R[pe >>> 4 & 15] + R[15 & pe] + R[L >>> 28 & 15] + R[L >>> 24 & 15] + R[L >>> 20 & 15] + R[L >>> 16 & 15] + R[L >>> 12 & 15] + R[L >>> 8 & 15] + R[L >>> 4 & 15] + R[15 & L] + R[_e >>> 28 & 15] + R[_e >>> 24 & 15] + R[_e >>> 20 & 15] + R[_e >>> 16 & 15] + R[_e >>> 12 & 15] + R[_e >>> 8 & 15] + R[_e >>> 4 & 15] + R[15 & _e];
return this.is224 || (Re += R[N >>> 28 & 15] + R[N >>> 24 & 15] + R[N >>> 20 & 15] + R[N >>> 16 & 15] + R[N >>> 12 & 15] + R[N >>> 8 & 15] + R[N >>> 4 & 15] + R[15 & N]),
Re
}
,
De.prototype.array = De.prototype.digest = function() {
this.finalize();
var Q = this.h0
, V = this.h1
, Z = this.h2
, z = this.h3
, pe = this.h4
, L = this.h5
, _e = this.h6
, N = this.h7
, Re = [Q >>> 24 & 255, Q >>> 16 & 255, Q >>> 8 & 255, 255 & Q, V >>> 24 & 255, V >>> 16 & 255, V >>> 8 & 255, 255 & V, Z >>> 24 & 255, Z >>> 16 & 255, Z >>> 8 & 255, 255 & Z, z >>> 24 & 255, z >>> 16 & 255, z >>> 8 & 255, 255 & z, pe >>> 24 & 255, pe >>> 16 & 255, pe >>> 8 & 255, 255 & pe, L >>> 24 & 255, L >>> 16 & 255, L >>> 8 & 255, 255 & L, _e >>> 24 & 255, _e >>> 16 & 255, _e >>> 8 & 255, 255 & _e];
return this.is224 || Re.push(N >>> 24 & 255, N >>> 16 & 255, N >>> 8 & 255, 255 & N),
Re
}
,
De.prototype.arrayBuffer = function() {
this.finalize();
var Q = new ArrayBuffer(this.is224 ? 28 : 32)
, V = new DataView(Q);
return V.setUint32(0, this.h0),
V.setUint32(4, this.h1),
V.setUint32(8, this.h2),
V.setUint32(12, this.h3),
V.setUint32(16, this.h4),
V.setUint32(20, this.h5),
V.setUint32(24, this.h6),
this.is224 || V.setUint32(28, this.h7),
Q
}
,
(me.prototype = new De).finalize = function() {
if (De.prototype.finalize.call(this),
this.inner) {
this.inner = !1;
var Q = this.array();
De.call(this, this.is224, this.sharedMemory),
this.update(this.oKeyPad),
this.update(Q),
De.prototype.finalize.call(this)
}
}
;
var ve = Pe();
ve.sha256 = ve,
ve.sha224 = Pe(!0),
ve.sha256.hmac = oe(),
ve.sha224.hmac = oe(!0),
J ? Oe.exports = ve : (G.sha256 = ve.sha256,
G.sha224 = ve.sha224,
q && void 0 !== (h = function() {
return ve
}
.call(ve, D, ve, Oe)) && (Oe.exports = h))
}()
}
,
1135: (Oe, ae, D) => {
"use strict";
D.d(ae, {
X: () => w
});
var h = D(7579);
class w extends h.x {
constructor(G) {
super(),
this._value = G
}
get value() {
return this.getValue()
}
_subscribe(G) {
const U = super._subscribe(G);
return !U.closed && G.next(this._value),
U
}
getValue() {
const {hasError: G, thrownError: U, _value: le} = this;
if (G)
throw U;
return this._throwIfClosed(),
le
}
next(G) {
super.next(this._value = G)
}
}
}
,
9751: (Oe, ae, D) => {
"use strict";
D.d(ae, {
y: () => q
});
var h = D(930)
, w = D(727)
, A = D(8822)
, G = D(9635)
, U = D(2416)
, le = D(576)
, J = D(2806);
let q = ( () => {
class P {
constructor(M) {
M && (this._subscribe = M)
}
lift(M) {
const B = new P;
return B.source = this,
B.operator = M,
B
}
subscribe(M, B, ne) {
const Pe = function X(P) {
return P && P instanceof h.Lv || function R(P) {
return P && (0,
le.m)(P.next) && (0,
le.m)(P.error) && (0,
le.m)(P.complete)
}(P) && (0,
w.Nn)(P)
}(M) ? M : new h.Hp(M,B,ne);
return (0,
J.x)( () => {
const {operator: Se, source: xe} = this;
Pe.add(Se ? Se.call(Pe, xe) : xe ? this._subscribe(Pe) : this._trySubscribe(Pe))
}
),
Pe
}
_trySubscribe(M) {
try {
return this._subscribe(M)
} catch (B) {
M.error(B)
}
}
forEach(M, B) {
return new (B = te(B))( (ne, Pe) => {
const Se = new h.Hp({
next: xe => {
try {
M(xe)
} catch (oe) {
Pe(oe),
Se.unsubscribe()
}
}
,
error: Pe,
complete: ne
});
this.subscribe(Se)
}
)
}
_subscribe(M) {
var B;
return null === (B = this.source) || void 0 === B ? void 0 : B.subscribe(M)
}
[A.L]() {
return this
}
pipe(...M) {
return (0,
G.U)(M)(this)
}
toPromise(M) {
return new (M = te(M))( (B, ne) => {
let Pe;
this.subscribe(Se => Pe = Se, Se => ne(Se), () => B(Pe))
}
)
}
}
return P.create = K => new P(K),
P
}
)();
function te(P) {
var K;
return null !== (K = P ?? U.v.Promise) && void 0 !== K ? K : Promise
}
}
,
7579: (Oe, ae, D) => {
"use strict";
D.d(ae, {
x: () => J
});
var h = D(9751)
, w = D(727);
const G = (0,
D(3888).d)(te => function() {
te(this),
this.name = "ObjectUnsubscribedError",
this.message = "object unsubscribed"
}
);
var U = D(8737)
, le = D(2806);
let J = ( () => {
class te extends h.y {
constructor() {
super(),
this.closed = !1,
this.currentObservers = null,
this.observers = [],
this.isStopped = !1,
this.hasError = !1,
this.thrownError = null
}
lift(X) {
const P = new q(this,this);
return P.operator = X,
P
}
_throwIfClosed() {
if (this.closed)
throw new G
}
next(X) {
(0,
le.x)( () => {
if (this._throwIfClosed(),
!this.isStopped) {
this.currentObservers || (this.currentObservers = Array.from(this.observers));
for (const P of this.currentObservers)
P.next(X)
}
}
)
}
error(X) {
(0,
le.x)( () => {
if (this._throwIfClosed(),
!this.isStopped) {
this.hasError = this.isStopped = !0,
this.thrownError = X;
const {observers: P} = this;
for (; P.length; )
P.shift().error(X)
}
}
)
}
complete() {
(0,
le.x)( () => {
if (this._throwIfClosed(),
!this.isStopped) {
this.isStopped = !0;
const {observers: X} = this;
for (; X.length; )
X.shift().complete()
}
}
)
}
unsubscribe() {
this.isStopped = this.closed = !0,
this.observers = this.currentObservers = null
}
get observed() {
var X;
return (null === (X = this.observers) || void 0 === X ? void 0 : X.length) > 0
}
_trySubscribe(X) {
return this._throwIfClosed(),
super._trySubscribe(X)
}
_subscribe(X) {
return this._throwIfClosed(),
this._checkFinalizedStatuses(X),
this._innerSubscribe(X)
}
_innerSubscribe(X) {
const {hasError: P, isStopped: K, observers: M} = this;
return P || K ? w.Lc : (this.currentObservers = null,
M.push(X),
new w.w0( () => {
this.currentObservers = null,
(0,
U.P)(M, X)
}
))
}
_checkFinalizedStatuses(X) {
const {hasError: P, thrownError: K, isStopped: M} = this;
P ? X.error(K) : M && X.complete()
}
asObservable() {
const X = new h.y;
return X.source = this,
X
}
}
return te.create = (R, X) => new q(R,X),
te
}
)();
class q extends J {
constructor(R, X) {
super(),
this.destination = R,
this.source = X
}
next(R) {
var X, P;
null === (P = null === (X = this.destination) || void 0 === X ? void 0 : X.next) || void 0 === P || P.call(X, R)
}
error(R) {
var X, P;
null === (P = null === (X = this.destination) || void 0 === X ? void 0 : X.error) || void 0 === P || P.call(X, R)
}
complete() {
var R, X;
null === (X = null === (R = this.destination) || void 0 === R ? void 0 : R.complete) || void 0 === X || X.call(R)
}
_subscribe(R) {
var X, P;
return null !== (P = null === (X = this.source) || void 0 === X ? void 0 : X.subscribe(R)) && void 0 !== P ? P : w.Lc
}
}
}
,
930: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Hp: () => ne,
Lv: () => P
});
var h = D(576)
, w = D(727)
, A = D(2416)
, G = D(7849)
, U = D(5032);
const le = te("C", void 0, void 0);
function te(De, me, ve) {
return {
kind: De,
value: me,
error: ve
}
}
var R = D(3410)
, X = D(2806);
class P extends w.w0 {
constructor(me) {
super(),
this.isStopped = !1,
me ? (this.destination = me,
(0,
w.Nn)(me) && me.add(this)) : this.destination = oe
}
static create(me, ve, Q) {
return new ne(me,ve,Q)
}
next(me) {
this.isStopped ? xe(function q(De) {
return te("N", De, void 0)
}(me), this) : this._next(me)
}
error(me) {
this.isStopped ? xe(function J(De) {
return te("E", void 0, De)
}(me), this) : (this.isStopped = !0,
this._error(me))
}
complete() {
this.isStopped ? xe(le, this) : (this.isStopped = !0,
this._complete())
}
unsubscribe() {
this.closed || (this.isStopped = !0,
super.unsubscribe(),
this.destination = null)
}
_next(me) {
this.destination.next(me)
}
_error(me) {
try {
this.destination.error(me)
} finally {
this.unsubscribe()
}
}
_complete() {
try {
this.destination.complete()
} finally {
this.unsubscribe()
}
}
}
const K = Function.prototype.bind;
function M(De, me) {
return K.call(De, me)
}
class B {
constructor(me) {
this.partialObserver = me
}
next(me) {
const {partialObserver: ve} = this;
if (ve.next)
try {
ve.next(me)
} catch (Q) {
Pe(Q)
}
}
error(me) {
const {partialObserver: ve} = this;
if (ve.error)
try {
ve.error(me)
} catch (Q) {
Pe(Q)
}
else
Pe(me)
}
complete() {
const {partialObserver: me} = this;
if (me.complete)
try {
me.complete()
} catch (ve) {
Pe(ve)
}
}
}
class ne extends P {
constructor(me, ve, Q) {
let V;
if (super(),
(0,
h.m)(me) || !me)
V = {
next: me ?? void 0,
error: ve ?? void 0,
complete: Q ?? void 0
};
else {
let Z;
this && A.v.useDeprecatedNextContext ? (Z = Object.create(me),
Z.unsubscribe = () => this.unsubscribe(),
V = {
next: me.next && M(me.next, Z),
error: me.error && M(me.error, Z),
complete: me.complete && M(me.complete, Z)
}) : V = me
}
this.destination = new B(V)
}
}
function Pe(De) {
A.v.useDeprecatedSynchronousErrorHandling ? (0,
X.O)(De) : (0,
G.h)(De)
}
function xe(De, me) {
const {onStoppedNotification: ve} = A.v;
ve && R.z.setTimeout( () => ve(De, me))
}
const oe = {
closed: !0,
next: U.Z,
error: function Se(De) {
throw De
},
complete: U.Z
}
}
,
727: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Lc: () => le,
w0: () => U,
Nn: () => J
});
var h = D(576);
const A = (0,
D(3888).d)(te => function(X) {
te(this),
this.message = X ? `${X.length} errors occurred during unsubscription:\n${X.map( (P, K) => `${K + 1}) ${P.toString()}`).join("\n ")}` : "",
this.name = "UnsubscriptionError",
this.errors = X
}
);
var G = D(8737);
class U {
constructor(R) {
this.initialTeardown = R,
this.closed = !1,
this._parentage = null,
this._finalizers = null
}
unsubscribe() {
let R;
if (!this.closed) {
this.closed = !0;
const {_parentage: X} = this;
if (X)
if (this._parentage = null,
Array.isArray(X))
for (const M of X)
M.remove(this);
else
X.remove(this);
const {initialTeardown: P} = this;
if ((0,
h.m)(P))
try {
P()
} catch (M) {
R = M instanceof A ? M.errors : [M]
}
const {_finalizers: K} = this;
if (K) {
this._finalizers = null;
for (const M of K)
try {
q(M)
} catch (B) {
R = R ?? [],
B instanceof A ? R = [...R, ...B.errors] : R.push(B)
}
}
if (R)
throw new A(R)
}
}
add(R) {
var X;
if (R && R !== this)
if (this.closed)
q(R);
else {
if (R instanceof U) {
if (R.closed || R._hasParent(this))
return;
R._addParent(this)
}
(this._finalizers = null !== (X = this._finalizers) && void 0 !== X ? X : []).push(R)
}
}
_hasParent(R) {
const {_parentage: X} = this;
return X === R || Array.isArray(X) && X.includes(R)
}
_addParent(R) {
const {_parentage: X} = this;
this._parentage = Array.isArray(X) ? (X.push(R),
X) : X ? [X, R] : R
}
_removeParent(R) {
const {_parentage: X} = this;
X === R ? this._parentage = null : Array.isArray(X) && (0,
G.P)(X, R)
}
remove(R) {
const {_finalizers: X} = this;
X && (0,
G.P)(X, R),
R instanceof U && R._removeParent(this)
}
}
U.EMPTY = ( () => {
const te = new U;
return te.closed = !0,
te
}
)();
const le = U.EMPTY;
function J(te) {
return te instanceof U || te && "closed"in te && (0,
h.m)(te.remove) && (0,
h.m)(te.add) && (0,
h.m)(te.unsubscribe)
}
function q(te) {
(0,
h.m)(te) ? te() : te.unsubscribe()
}
}
,
2416: (Oe, ae, D) => {
"use strict";
D.d(ae, {
v: () => h
});
const h = {
onUnhandledError: null,
onStoppedNotification: null,
Promise: void 0,
useDeprecatedSynchronousErrorHandling: !1,
useDeprecatedNextContext: !1
}
}
,
7272: (Oe, ae, D) => {
"use strict";
D.d(ae, {
z: () => U
});
var h = D(8189)
, A = D(3269)
, G = D(2076);
function U(...le) {
return function w() {
return (0,
h.J)(1)
}()((0,
G.D)(le, (0,
A.yG)(le)))
}
}
,
515: (Oe, ae, D) => {
"use strict";
D.d(ae, {
E: () => w
});
const w = new (D(9751).y)(U => U.complete())
}
,
2076: (Oe, ae, D) => {
"use strict";
D.d(ae, {
D: () => Q
});
var h = D(8421)
, w = D(9672)
, A = D(4482)
, G = D(5403);
function U(V, Z=0) {
return (0,
A.e)( (z, pe) => {
z.subscribe((0,
G.x)(pe, L => (0,
w.f)(pe, V, () => pe.next(L), Z), () => (0,
w.f)(pe, V, () => pe.complete(), Z), L => (0,
w.f)(pe, V, () => pe.error(L), Z)))
}
)
}
function le(V, Z=0) {
return (0,
A.e)( (z, pe) => {
pe.add(V.schedule( () => z.subscribe(pe), Z))
}
)
}
var te = D(9751)
, X = D(2202)
, P = D(576);
function M(V, Z) {
if (!V)
throw new Error("Iterable cannot be null");
return new te.y(z => {
(0,
w.f)(z, Z, () => {
const pe = V[Symbol.asyncIterator]();
(0,
w.f)(z, Z, () => {
pe.next().then(L => {
L.done ? z.complete() : z.next(L.value)
}
)
}
, 0, !0)
}
)
}
)
}
var B = D(3670)
, ne = D(8239)
, Pe = D(1144)
, Se = D(6495)
, xe = D(2206)
, oe = D(4532)
, De = D(3260);
function Q(V, Z) {
return Z ? function ve(V, Z) {
if (null != V) {
if ((0,
B.c)(V))
return function J(V, Z) {
return (0,
h.Xf)(V).pipe(le(Z), U(Z))
}(V, Z);
if ((0,
Pe.z)(V))
return function R(V, Z) {
return new te.y(z => {
let pe = 0;
return Z.schedule(function() {
pe === V.length ? z.complete() : (z.next(V[pe++]),
z.closed || this.schedule())
})
}
)
}(V, Z);
if ((0,
ne.t)(V))
return function q(V, Z) {
return (0,
h.Xf)(V).pipe(le(Z), U(Z))
}(V, Z);
if ((0,
xe.D)(V))
return M(V, Z);
if ((0,
Se.T)(V))
return function K(V, Z) {
return new te.y(z => {
let pe;
return (0,
w.f)(z, Z, () => {
pe = V[X.h](),
(0,
w.f)(z, Z, () => {
let L, _e;
try {
({value: L, done: _e} = pe.next())
} catch (N) {
return void z.error(N)
}
_e ? z.complete() : z.next(L)
}
, 0, !0)
}
),
() => (0,
P.m)(pe?.return) && pe.return()
}
)
}(V, Z);
if ((0,
De.L)(V))
return function me(V, Z) {
return M((0,
De.Q)(V), Z)
}(V, Z)
}
throw (0,
oe.z)(V)
}(V, Z) : (0,
h.Xf)(V)
}
}
,
8421: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Xf: () => K
});
var h = D(7582)
, w = D(1144)
, A = D(8239)
, G = D(9751)
, U = D(3670)
, le = D(2206)
, J = D(4532)
, q = D(6495)
, te = D(3260)
, R = D(576)
, X = D(7849)
, P = D(8822);
function K(De) {
if (De instanceof G.y)
return De;
if (null != De) {
if ((0,
U.c)(De))
return function M(De) {
return new G.y(me => {
const ve = De[P.L]();
if ((0,
R.m)(ve.subscribe))
return ve.subscribe(me);
throw new TypeError("Provided object does not correctly implement Symbol.observable")
}
)
}(De);
if ((0,
w.z)(De))
return function B(De) {
return new G.y(me => {
for (let ve = 0; ve < De.length && !me.closed; ve++)
me.next(De[ve]);
me.complete()
}
)
}(De);
if ((0,
A.t)(De))
return function ne(De) {
return new G.y(me => {
De.then(ve => {
me.closed || (me.next(ve),
me.complete())
}
, ve => me.error(ve)).then(null, X.h)
}
)
}(De);
if ((0,
le.D)(De))
return Se(De);
if ((0,
q.T)(De))
return function Pe(De) {
return new G.y(me => {
for (const ve of De)
if (me.next(ve),
me.closed)
return;
me.complete()
}
)
}(De);
if ((0,
te.L)(De))
return function xe(De) {
return Se((0,
te.Q)(De))
}(De)
}
throw (0,
J.z)(De)
}
function Se(De) {
return new G.y(me => {
(function oe(De, me) {
var ve, Q, V, Z;
return (0,
h.mG)(this, void 0, void 0, function*() {
try {
for (ve = (0,
h.KL)(De); !(Q = yield ve.next()).done; )
if (me.next(Q.value),
me.closed)
return
} catch (z) {
V = {
error: z
}
} finally {
try {
Q && !Q.done && (Z = ve.return) && (yield Z.call(ve))
} finally {
if (V)
throw V.error
}
}
me.complete()
})
}
)(De, me).catch(ve => me.error(ve))
}
)
}
}
,
9646: (Oe, ae, D) => {
"use strict";
D.d(ae, {
of: () => A
});
var h = D(3269)
, w = D(2076);
function A(...G) {
const U = (0,
h.yG)(G);
return (0,
w.D)(G, U)
}
}
,
5403: (Oe, ae, D) => {
"use strict";
D.d(ae, {
x: () => w
});
var h = D(930);
function w(G, U, le, J, q) {
return new A(G,U,le,J,q)
}
class A extends h.Lv {
constructor(U, le, J, q, te, R) {
super(U),
this.onFinalize = te,
this.shouldUnsubscribe = R,
this._next = le ? function(X) {
try {
le(X)
} catch (P) {
U.error(P)
}
}
: super._next,
this._error = q ? function(X) {
try {
q(X)
} catch (P) {
U.error(P)
} finally {
this.unsubscribe()
}
}
: super._error,
this._complete = J ? function() {
try {
J()
} catch (X) {
U.error(X)
} finally {
this.unsubscribe()
}
}
: super._complete
}
unsubscribe() {
var U;
if (!this.shouldUnsubscribe || this.shouldUnsubscribe()) {
const {closed: le} = this;
super.unsubscribe(),
!le && (null === (U = this.onFinalize) || void 0 === U || U.call(this))
}
}
}
}
,
262: (Oe, ae, D) => {
"use strict";
D.d(ae, {
K: () => G
});
var h = D(8421)
, w = D(5403)
, A = D(4482);
function G(U) {
return (0,
A.e)( (le, J) => {
let R, q = null, te = !1;
q = le.subscribe((0,
w.x)(J, void 0, void 0, X => {
R = (0,
h.Xf)(U(X, G(U)(le))),
q ? (q.unsubscribe(),
q = null,
R.subscribe(J)) : te = !0
}
)),
te && (q.unsubscribe(),
q = null,
R.subscribe(J))
}
)
}
}
,
4351: (Oe, ae, D) => {
"use strict";
D.d(ae, {
b: () => A
});
var h = D(5577)
, w = D(576);
function A(G, U) {
return (0,
w.m)(U) ? (0,
h.z)(G, U, 1) : (0,
h.z)(G, 1)
}
}
,
9300: (Oe, ae, D) => {
"use strict";
D.d(ae, {
h: () => A
});
var h = D(4482)
, w = D(5403);
function A(G, U) {
return (0,
h.e)( (le, J) => {
let q = 0;
le.subscribe((0,
w.x)(J, te => G.call(U, te, q++) && J.next(te)))
}
)
}
}
,
4004: (Oe, ae, D) => {
"use strict";
D.d(ae, {
U: () => A
});
var h = D(4482)
, w = D(5403);
function A(G, U) {
return (0,
h.e)( (le, J) => {
let q = 0;
le.subscribe((0,
w.x)(J, te => {
J.next(G.call(U, te, q++))
}
))
}
)
}
}
,
9718: (Oe, ae, D) => {
"use strict";
D.d(ae, {
h: () => w
});
var h = D(4004);
function w(A) {
return (0,
h.U)( () => A)
}
}
,
8189: (Oe, ae, D) => {
"use strict";
D.d(ae, {
J: () => A
});
var h = D(5577)
, w = D(4671);
function A(G=1 / 0) {
return (0,
h.z)(w.y, G)
}
}
,
5577: (Oe, ae, D) => {
"use strict";
D.d(ae, {
z: () => q
});
var h = D(4004)
, w = D(8421)
, A = D(4482)
, G = D(9672)
, U = D(5403)
, J = D(576);
function q(te, R, X=1 / 0) {
return (0,
J.m)(R) ? q( (P, K) => (0,
h.U)( (M, B) => R(P, M, K, B))((0,
w.Xf)(te(P, K))), X) : ("number" == typeof R && (X = R),
(0,
A.e)( (P, K) => function le(te, R, X, P, K, M, B, ne) {
const Pe = [];
let Se = 0
, xe = 0
, oe = !1;
const De = () => {
oe && !Pe.length && !Se && R.complete()
}
, me = Q => Se < P ? ve(Q) : Pe.push(Q)
, ve = Q => {
M && R.next(Q),
Se++;
let V = !1;
(0,
w.Xf)(X(Q, xe++)).subscribe((0,
U.x)(R, Z => {
K?.(Z),
M ? me(Z) : R.next(Z)
}
, () => {
V = !0
}
, void 0, () => {
if (V)
try {
for (Se--; Pe.length && Se < P; ) {
const Z = Pe.shift();
B ? (0,
G.f)(R, B, () => ve(Z)) : ve(Z)
}
De()
} catch (Z) {
R.error(Z)
}
}
))
}
;
return te.subscribe((0,
U.x)(R, me, () => {
oe = !0,
De()
}
)),
() => {
ne?.()
}
}(P, K, te, X)))
}
}
,
5698: (Oe, ae, D) => {
"use strict";
D.d(ae, {
q: () => G
});
var h = D(515)
, w = D(4482)
, A = D(5403);
function G(U) {
return U <= 0 ? () => h.E : (0,
w.e)( (le, J) => {
let q = 0;
le.subscribe((0,
A.x)(J, te => {
++q <= U && (J.next(te),
U <= q && J.complete())
}
))
}
)
}
}
,
2722: (Oe, ae, D) => {
"use strict";
D.d(ae, {
R: () => U
});
var h = D(4482)
, w = D(5403)
, A = D(8421)
, G = D(5032);
function U(le) {
return (0,
h.e)( (J, q) => {
(0,
A.Xf)(le).subscribe((0,
w.x)(q, () => q.complete(), G.Z)),
!q.closed && J.subscribe(q)
}
)
}
}
,
8505: (Oe, ae, D) => {
"use strict";
D.d(ae, {
b: () => U
});
var h = D(576)
, w = D(4482)
, A = D(5403)
, G = D(4671);
function U(le, J, q) {
const te = (0,
h.m)(le) || J || q ? {
next: le,
error: J,
complete: q
} : le;
return te ? (0,
w.e)( (R, X) => {
var P;
null === (P = te.subscribe) || void 0 === P || P.call(te);
let K = !0;
R.subscribe((0,
A.x)(X, M => {
var B;
null === (B = te.next) || void 0 === B || B.call(te, M),
X.next(M)
}
, () => {
var M;
K = !1,
null === (M = te.complete) || void 0 === M || M.call(te),
X.complete()
}
, M => {
var B;
K = !1,
null === (B = te.error) || void 0 === B || B.call(te, M),
X.error(M)
}
, () => {
var M, B;
K && (null === (M = te.unsubscribe) || void 0 === M || M.call(te)),
null === (B = te.finalize) || void 0 === B || B.call(te)
}
))
}
) : G.y
}
}
,
3410: (Oe, ae, D) => {
"use strict";
D.d(ae, {
z: () => h
});
const h = {
setTimeout(w, A, ...G) {
const {delegate: U} = h;
return U?.setTimeout ? U.setTimeout(w, A, ...G) : setTimeout(w, A, ...G)
},
clearTimeout(w) {
const {delegate: A} = h;
return (A?.clearTimeout || clearTimeout)(w)
},
delegate: void 0
}
}
,
2202: (Oe, ae, D) => {
"use strict";
D.d(ae, {
h: () => w
});
const w = function h() {
return "function" == typeof Symbol && Symbol.iterator ? Symbol.iterator : "@@iterator"
}()
}
,
8822: (Oe, ae, D) => {
"use strict";
D.d(ae, {
L: () => h
});
const h = "function" == typeof Symbol && Symbol.observable || "@@observable"
}
,
6805: (Oe, ae, D) => {
"use strict";
D.d(ae, {
K: () => w
});
const w = (0,
D(3888).d)(A => function() {
A(this),
this.name = "EmptyError",
this.message = "no elements in sequence"
}
)
}
,
3269: (Oe, ae, D) => {
"use strict";
D.d(ae, {
_6: () => le,
jO: () => G,
yG: () => U
});
var h = D(576)
, w = D(3532);
function A(J) {
return J[J.length - 1]
}
function G(J) {
return (0,
h.m)(A(J)) ? J.pop() : void 0
}
function U(J) {
return (0,
w.K)(A(J)) ? J.pop() : void 0
}
function le(J, q) {
return "number" == typeof A(J) ? J.pop() : q
}
}
,
8737: (Oe, ae, D) => {
"use strict";
function h(w, A) {
if (w) {
const G = w.indexOf(A);
0 <= G && w.splice(G, 1)
}
}
D.d(ae, {
P: () => h
})
}
,
3888: (Oe, ae, D) => {
"use strict";
function h(w) {
const G = w(U => {
Error.call(U),
U.stack = (new Error).stack
}
);
return G.prototype = Object.create(Error.prototype),
G.prototype.constructor = G,
G
}
D.d(ae, {
d: () => h
})
}
,
2806: (Oe, ae, D) => {
"use strict";
D.d(ae, {
O: () => G,
x: () => A
});
var h = D(2416);
let w = null;
function A(U) {
if (h.v.useDeprecatedSynchronousErrorHandling) {
const le = !w;
if (le && (w = {
errorThrown: !1,
error: null
}),
U(),
le) {
const {errorThrown: J, error: q} = w;
if (w = null,
J)
throw q
}
} else
U()
}
function G(U) {
h.v.useDeprecatedSynchronousErrorHandling && w && (w.errorThrown = !0,
w.error = U)
}
}
,
9672: (Oe, ae, D) => {
"use strict";
function h(w, A, G, U=0, le=!1) {
const J = A.schedule(function() {
G(),
le ? w.add(this.schedule(null, U)) : this.unsubscribe()
}, U);
if (w.add(J),
!le)
return J
}
D.d(ae, {
f: () => h
})
}
,
4671: (Oe, ae, D) => {
"use strict";
function h(w) {
return w
}
D.d(ae, {
y: () => h
})
}
,
1144: (Oe, ae, D) => {
"use strict";
D.d(ae, {
z: () => h
});
const h = w => w && "number" == typeof w.length && "function" != typeof w
}
,
2206: (Oe, ae, D) => {
"use strict";
D.d(ae, {
D: () => w
});
var h = D(576);
function w(A) {
return Symbol.asyncIterator && (0,
h.m)(A?.[Symbol.asyncIterator])
}
}
,
576: (Oe, ae, D) => {
"use strict";
function h(w) {
return "function" == typeof w
}
D.d(ae, {
m: () => h
})
}
,
3670: (Oe, ae, D) => {
"use strict";
D.d(ae, {
c: () => A
});
var h = D(8822)
, w = D(576);
function A(G) {
return (0,
w.m)(G[h.L])
}
}
,
6495: (Oe, ae, D) => {
"use strict";
D.d(ae, {
T: () => A
});
var h = D(2202)
, w = D(576);
function A(G) {
return (0,
w.m)(G?.[h.h])
}
}
,
8239: (Oe, ae, D) => {
"use strict";
D.d(ae, {
t: () => w
});
var h = D(576);
function w(A) {
return (0,
h.m)(A?.then)
}
}
,
3260: (Oe, ae, D) => {
"use strict";
D.d(ae, {
L: () => G,
Q: () => A
});
var h = D(7582)
, w = D(576);
function A(U) {
return (0,
h.FC)(this, arguments, function*() {
const J = U.getReader();
try {
for (; ; ) {
const {value: q, done: te} = yield(0,
h.qq)(J.read());
if (te)
return yield(0,
h.qq)(void 0);
yield yield(0,
h.qq)(q)
}
} finally {
J.releaseLock()
}
})
}
function G(U) {
return (0,
w.m)(U?.getReader)
}
}
,
3532: (Oe, ae, D) => {
"use strict";
D.d(ae, {
K: () => w
});
var h = D(576);
function w(A) {
return A && (0,
h.m)(A.schedule)
}
}
,
4482: (Oe, ae, D) => {
"use strict";
D.d(ae, {
A: () => w,
e: () => A
});
var h = D(576);
function w(G) {
return (0,
h.m)(G?.lift)
}
function A(G) {
return U => {
if (w(U))
return U.lift(function(le) {
try {
return G(le, this)
} catch (J) {
this.error(J)
}
});
throw new TypeError("Unable to lift unknown Observable type")
}
}
}
,
5032: (Oe, ae, D) => {
"use strict";
function h() {}
D.d(ae, {
Z: () => h
})
}
,
9635: (Oe, ae, D) => {
"use strict";
D.d(ae, {
U: () => A,
z: () => w
});
var h = D(4671);
function w(...G) {
return A(G)
}
function A(G) {
return 0 === G.length ? h.y : 1 === G.length ? G[0] : function(le) {
return G.reduce( (J, q) => q(J), le)
}
}
}
,
7849: (Oe, ae, D) => {
"use strict";
D.d(ae, {
h: () => A
});
var h = D(2416)
, w = D(3410);
function A(G) {
w.z.setTimeout( () => {
const {onUnhandledError: U} = h.v;
if (!U)
throw G;
U(G)
}
)
}
}
,
4532: (Oe, ae, D) => {
"use strict";
function h(w) {
return new TypeError(`You provided ${null !== w && "object" == typeof w ? "an invalid object" : `'${w}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)
}
D.d(ae, {
z: () => h
})
}
,
5834: function(Oe, ae, D) {
var h;
!function(w, A) {
"use strict";
var J = "function"
, q = "undefined"
, te = "object"
, R = "string"
, X = "major"
, P = "model"
, K = "name"
, M = "type"
, B = "vendor"
, ne = "version"
, Pe = "architecture"
, Se = "console"
, xe = "mobile"
, oe = "tablet"
, De = "smarttv"
, me = "wearable"
, ve = "embedded"
, V = "Amazon"
, Z = "Apple"
, z = "ASUS"
, pe = "BlackBerry"
, L = "Browser"
, _e = "Chrome"
, Re = "Firefox"
, fe = "Google"
, W = "Microsoft"
, j = "Motorola"
, re = "Opera"
, ce = "Samsung"
, Ee = "Sony"
, He = "Xiaomi"
, We = "Zebra"
, ht = "Facebook"
, Ue = "Chromium OS"
, tt = function(se) {
for (var S = {}, x = 0; x < se.length; x++)
S[se[x].toUpperCase()] = se[x];
return S
}
, it = function(se, S) {
return typeof se === R && -1 !== Rt(S).indexOf(Rt(se))
}
, Rt = function(se) {
return se.toLowerCase()
}
, Nt = function(se, S) {
if (typeof se === R)
return se = se.replace(/^\s\s*/, ""),
typeof S === q ? se : se.substring(0, 500)
}
, jt = function(se, S) {
for (var ie, ge, Ve, Be, Fe, $e, x = 0; x < S.length && !Fe; ) {
var st = S[x]
, lt = S[x + 1];
for (ie = ge = 0; ie < st.length && !Fe && st[ie]; )
if (Fe = st[ie++].exec(se))
for (Ve = 0; Ve < lt.length; Ve++)
$e = Fe[++ge],
typeof (Be = lt[Ve]) === te && Be.length > 0 ? 2 === Be.length ? this[Be[0]] = typeof Be[1] == J ? Be[1].call(this, $e) : Be[1] : 3 === Be.length ? this[Be[0]] = typeof Be[1] !== J || Be[1].exec && Be[1].test ? $e ? $e.replace(Be[1], Be[2]) : A : $e ? Be[1].call(this, $e, Be[2]) : A : 4 === Be.length && (this[Be[0]] = $e ? Be[3].call(this, $e.replace(Be[1], Be[2])) : A) : this[Be] = $e || A;
x += 2
}
}
, Lt = function(se, S) {
for (var x in S)
if (typeof S[x] === te && S[x].length > 0) {
for (var ie = 0; ie < S[x].length; ie++)
if (it(S[x][ie], se))
return "?" === x ? A : x
} else if (it(S[x], se))
return "?" === x ? A : x;
return se
}
, Nn = {
ME: "4.90",
"NT 3.11": "NT3.51",
"NT 4.0": "NT4.0",
2e3: "NT 5.0",
XP: ["NT 5.1", "NT 5.2"],
Vista: "NT 6.0",
7: "NT 6.1",
8: "NT 6.2",
8.1: "NT 6.3",
10: ["NT 6.4", "NT 10.0"],
RT: "ARM"
}
, mn = {
browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [ne, [K, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [ne, [K, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [K, ne], [/opios[\/ ]+([\w\.]+)/i], [ne, [K, re + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [ne, [K, re + " GX"]], [/\bopr\/([\w\.]+)/i], [ne, [K, re]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [ne, [K, "Baidu"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\w\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i, /(heytap|ovi)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [K, ne], [/\bddg\/([\w\.]+)/i], [ne, [K, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [ne, [K, "UC" + L]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [ne, [K, "WeChat"]], [/konqueror\/([\w\.]+)/i], [ne, [K, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [ne, [K, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [ne, [K, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [ne, [K, "Smart Lenovo " + L]], [/(avast|avg)\/([\w\.]+)/i], [[K, /(.+)/, "$1 Secure " + L], ne], [/\bfocus\/([\w\.]+)/i], [ne, [K, Re + " Focus"]], [/\bopt\/([\w\.]+)/i], [ne, [K, re + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [ne, [K, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [ne, [K, "Dolphin"]], [/coast\/([\w\.]+)/i], [ne, [K, re + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [ne, [K, "MIUI " + L]], [/fxios\/([-\w\.]+)/i], [ne, [K, Re]], [/\bqihu|(qi?ho?o?|360)browser/i], [[K, "360 " + L]], [/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i], [[K, /(.+)/, "$1 " + L], ne], [/samsungbrowser\/([\w\.]+)/i], [ne, [K, ce + " Internet"]], [/(comodo_dragon)\/([\w\.]+)/i], [[K, /_/g, " "], ne], [/metasr[\/ ]?([\d\.]+)/i], [ne, [K, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[K, "Sogou Mobile"], ne], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i], [K, ne], [/(lbbrowser)/i, /\[(linkedin)app\]/i], [K], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[K, ht], ne], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [K, ne], [/\bgsa\/([\w\.]+) .*safari\//i], [ne, [K, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [ne, [K, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [ne, [K, _e + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[K, _e + " WebView"], ne], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [ne, [K, "Android " + L]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [K, ne], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [ne, [K, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [ne, K], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [K, [ne, Lt, {
"1.0": "/8",
1.2: "/1",
1.3: "/3",
"2.0": "/412",
"2.0.2": "/416",
"2.0.3": "/417",
"2.0.4": "/419",
"?": "/"
}]], [/(webkit|khtml)\/([\w\.]+)/i], [K, ne], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[K, "Netscape"], ne], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [ne, [K, Re + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i, /panasonic;(viera)/i], [K, ne], [/(cobalt)\/([\w\.]+)/i], [K, [ne, /master.|lts./, ""]]],
cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[Pe, "amd64"]], [/(ia32(?=;))/i], [[Pe, Rt]], [/((?:i[346]|x)86)[;\)]/i], [[Pe, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[Pe, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[Pe, "armhf"]], [/windows (ce|mobile); ppc;/i], [[Pe, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[Pe, /ower/, "", Rt]], [/(sun4\w)[;\)]/i], [[Pe, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[Pe, Rt]]],
device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [P, [B, ce], [M, oe]], [/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]([-\w]+)/i, /sec-(sgh\w+)/i], [P, [B, ce], [M, xe]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [P, [B, Z], [M, xe]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [P, [B, Z], [M, oe]], [/(macintosh);/i], [P, [B, Z]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [P, [B, "Sharp"], [M, xe]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [P, [B, "Huawei"], [M, oe]], [/(?:huawei|honor)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [P, [B, "Huawei"], [M, xe]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i], [[P, /_/g, " "], [B, He], [M, xe]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[P, /_/g, " "], [B, He], [M, oe]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [P, [B, "OPPO"], [M, xe]], [/\b(opd2\d{3}a?) bui/i], [P, [B, "OPPO"], [M, oe]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [P, [B, "Vivo"], [M, xe]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [P, [B, "Realme"], [M, xe]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [P, [B, j], [M, xe]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [P, [B, j], [M, oe]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [P, [B, "LG"], [M, oe]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [P, [B, "LG"], [M, xe]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [P, [B, "Lenovo"], [M, oe]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[P, /_/g, " "], [B, "Nokia"], [M, xe]], [/(pixel c)\b/i], [P, [B, fe], [M, oe]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [P, [B, fe], [M, xe]], [/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [P, [B, Ee], [M, xe]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[P, "Xperia Tablet"], [B, Ee], [M, oe]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [P, [B, "OnePlus"], [M, xe]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [P, [B, V], [M, oe]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[P, /(.+)/g, "Fire Phone $1"], [B, V], [M, xe]], [/(playbook);[-\w\),; ]+(rim)/i], [P, B, [M, oe]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [P, [B, pe], [M, xe]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [P, [B, z], [M, oe]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [P, [B, z], [M, xe]], [/(nexus 9)/i], [P, [B, "HTC"], [M, oe]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [B, [P, /_/g, " "], [M, xe]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [P, [B, "Acer"], [M, oe]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [P, [B, "Meizu"], [M, xe]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [P, [B, "Ulefone"], [M, xe]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [B, P, [M, xe]], [/(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [B, P, [M, oe]], [/(surface duo)/i], [P, [B, W], [M, oe]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [P, [B, "Fairphone"], [M, xe]], [/(u304aa)/i], [P, [B, "AT&T"], [M, xe]], [/\bsie-(\w*)/i], [P, [B, "Siemens"], [M, xe]], [/\b(rct\w+) b/i], [P, [B, "RCA"], [M, oe]], [/\b(venue[\d ]{2,7}) b/i], [P, [B, "Dell"], [M, oe]], [/\b(q(?:mv|ta)\w+) b/i], [P, [B, "Verizon"], [M, oe]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [P, [B, "Barnes & Noble"], [M, oe]], [/\b(tm\d{3}\w+) b/i], [P, [B, "NuVision"], [M, oe]], [/\b(k88) b/i], [P, [B, "ZTE"], [M, oe]], [/\b(nx\d{3}j) b/i], [P, [B, "ZTE"], [M, xe]], [/\b(gen\d{3}) b.+49h/i], [P, [B, "Swiss"], [M, xe]], [/\b(zur\d{3}) b/i], [P, [B, "Swiss"], [M, oe]], [/\b((zeki)?tb.*\b) b/i], [P, [B, "Zeki"], [M, oe]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[B, "Dragon Touch"], P, [M, oe]], [/\b(ns-?\w{0,9}) b/i], [P, [B, "Insignia"], [M, oe]], [/\b((nxa|next)-?\w{0,9}) b/i], [P, [B, "NextBook"], [M, oe]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[B, "Voice"], P, [M, xe]], [/\b(lvtel\-)?(v1[12]) b/i], [[B, "LvTel"], P, [M, xe]], [/\b(ph-1) /i], [P, [B, "Essential"], [M, xe]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [P, [B, "Envizen"], [M, oe]], [/\b(trio[-\w\. ]+) b/i], [P, [B, "MachSpeed"], [M, oe]], [/\btu_(1491) b/i], [P, [B, "Rotor"], [M, oe]], [/(shield[\w ]+) b/i], [P, [B, "Nvidia"], [M, oe]], [/(sprint) (\w+)/i], [B, P, [M, xe]], [/(kin\.[onetw]{3})/i], [[P, /\./g, " "], [B, W], [M, xe]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [P, [B, We], [M, oe]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [P, [B, We], [M, xe]], [/smart-tv.+(samsung)/i], [B, [M, De]], [/hbbtv.+maple;(\d+)/i], [[P, /^/, "SmartTV"], [B, ce], [M, De]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[B, "LG"], [M, De]], [/(apple) ?tv/i], [B, [P, Z + " TV"], [M, De]], [/crkey/i], [[P, _e + "cast"], [B, fe], [M, De]], [/droid.+aft(\w+)( bui|\))/i], [P, [B, V], [M, De]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [P, [B, "Sharp"], [M, De]], [/(bravia[\w ]+)( bui|\))/i], [P, [B, Ee], [M, De]], [/(mitv-\w{5}) bui/i], [P, [B, He], [M, De]], [/Hbbtv.*(technisat) (.*);/i], [B, P, [M, De]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[B, Nt], [P, Nt], [M, De]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[M, De]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [B, P, [M, Se]], [/droid.+; (shield) bui/i], [P, [B, "Nvidia"], [M, Se]], [/(playstation [345portablevi]+)/i], [P, [B, Ee], [M, Se]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [P, [B, W], [M, Se]], [/((pebble))app/i], [B, P, [M, me]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [P, [B, Z], [M, me]], [/droid.+; (glass) \d/i], [P, [B, fe], [M, me]], [/droid.+; (wt63?0{2,3})\)/i], [P, [B, We], [M, me]], [/(quest( \d| pro)?)/i], [P, [B, ht], [M, me]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [B, [M, ve]], [/(aeobc)\b/i], [P, [B, V], [M, ve]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [P, [M, xe]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [P, [M, oe]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[M, oe]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[M, xe]], [/(android[-\w\. ]{0,9});.+buil/i], [P, [B, "Generic"]]],
engine: [[/windows.+ edge\/([\w\.]+)/i], [ne, [K, "EdgeHTML"]], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [ne, [K, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [K, ne], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [ne, K]],
os: [[/microsoft (windows) (vista|xp)/i], [K, ne], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [K, [ne, Lt, Nn]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[ne, Lt, Nn], [K, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[ne, /_/g, "."], [K, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[K, "Mac OS"], [ne, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [ne, K], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [K, ne], [/\(bb(10);/i], [ne, [K, pe]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [ne, [K, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [ne, [K, Re + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [ne, [K, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [ne, [K, "watchOS"]], [/crkey\/([\d\.]+)/i], [ne, [K, _e + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[K, Ue], ne], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [K, ne], [/(sunos) ?([\w\.\d]*)/i], [[K, "Solaris"], ne], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [K, ne]]
}
, At = function(se, S) {
if (typeof se === te && (S = se,
se = A),
!(this instanceof At))
return new At(se,S).getResult();
var x = typeof w !== q && w.navigator ? w.navigator : A
, ie = se || (x && x.userAgent ? x.userAgent : "")
, ge = x && x.userAgentData ? x.userAgentData : A
, Ve = S ? function(se, S) {
var x = {};
for (var ie in se)
x[ie] = S[ie] && S[ie].length % 2 == 0 ? S[ie].concat(se[ie]) : se[ie];
return x
}(mn, S) : mn
, Be = x && x.userAgent == ie;
return this.getBrowser = function() {
var Fe = {};
return Fe[K] = A,
Fe[ne] = A,
jt.call(Fe, ie, Ve.browser),
Fe[X] = function(se) {
return typeof se === R ? se.replace(/[^\d\.]/g, "").split(".")[0] : A
}(Fe[ne]),
Be && x && x.brave && typeof x.brave.isBrave == J && (Fe[K] = "Brave"),
Fe
}
,
this.getCPU = function() {
var Fe = {};
return Fe[Pe] = A,
jt.call(Fe, ie, Ve.cpu),
Fe
}
,
this.getDevice = function() {
var Fe = {};
return Fe[B] = A,
Fe[P] = A,
Fe[M] = A,
jt.call(Fe, ie, Ve.device),
Be && !Fe[M] && ge && ge.mobile && (Fe[M] = xe),
Be && "Macintosh" == Fe[P] && x && typeof x.standalone !== q && x.maxTouchPoints && x.maxTouchPoints > 2 && (Fe[P] = "iPad",
Fe[M] = oe),
Fe
}
,
this.getEngine = function() {
var Fe = {};
return Fe[K] = A,
Fe[ne] = A,
jt.call(Fe, ie, Ve.engine),
Fe
}
,
this.getOS = function() {
var Fe = {};
return Fe[K] = A,
Fe[ne] = A,
jt.call(Fe, ie, Ve.os),
Be && !Fe[K] && ge && ge.platform && "Unknown" != ge.platform && (Fe[K] = ge.platform.replace(/chrome os/i, Ue).replace(/macos/i, "Mac OS")),
Fe
}
,
this.getResult = function() {
return {
ua: this.getUA(),
browser: this.getBrowser(),
engine: this.getEngine(),
os: this.getOS(),
device: this.getDevice(),
cpu: this.getCPU()
}
}
,
this.getUA = function() {
return ie
}
,
this.setUA = function(Fe) {
return ie = typeof Fe === R && Fe.length > 500 ? Nt(Fe, 500) : Fe,
this
}
,
this.setUA(ie),
this
};
At.VERSION = "1.0.38",
At.BROWSER = tt([K, ne, X]),
At.CPU = tt([Pe]),
At.DEVICE = tt([P, B, M, Se, xe, De, oe, me, ve]),
At.ENGINE = At.OS = tt([K, ne]),
typeof ae !== q ? (Oe.exports && (ae = Oe.exports = At),
ae.UAParser = At) : D.amdO ? (h = function() {
return At
}
.call(ae, D, ae, Oe)) !== A && (Oe.exports = h) : typeof w !== q && (w.UAParser = At);
var Qe = typeof w !== q && (w.jQuery || w.Zepto);
if (Qe && !Qe.ua) {
var zt = new At;
Qe.ua = zt.getResult(),
Qe.ua.get = function() {
return zt.getUA()
}
,
Qe.ua.set = function(se) {
zt.setUA(se);
var S = zt.getResult();
for (var x in S)
Qe.ua[x] = S[x]
}
}
}("object" == typeof window ? window : this)
},
1371: () => {}
,
6127: () => {}
,
6895: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Do: () => oe,
EM: () => Fo,
HT: () => U,
JF: () => os,
JJ: () => ii,
K0: () => J,
Mx: () => Sr,
O5: () => mt,
PC: () => Vt,
RF: () => Sn,
S$: () => Pe,
V_: () => R,
Ye: () => De,
b0: () => xe,
bD: () => Po,
ez: () => Xn,
n9: () => Ar,
q: () => A,
sg: () => yn,
uU: () => ns,
w_: () => le
});
var h = D(8256);
let w = null;
function A() {
return w
}
function U(d) {
w || (w = d)
}
class le {
}
const J = new h.OlP("DocumentToken");
let q = ( () => {
class d {
historyGo(g) {
throw new Error("Not implemented")
}
}
return d.\u0275fac = function(g) {
return new (g || d)
}
,
d.\u0275prov = h.Yz7({
token: d,
factory: function() {
return function te() {
return (0,
h.LFG)(X)
}()
},
providedIn: "platform"
}),
d
}
)();
const R = new h.OlP("Location Initialized");
let X = ( () => {
class d extends q {
constructor(g) {
super(),
this._doc = g,
this._init()
}
_init() {
this.location = window.location,
this._history = window.history
}
getBaseHrefFromDOM() {
return A().getBaseHref(this._doc)
}
onPopState(g) {
const _ = A().getGlobalEventTarget(this._doc, "window");
return _.addEventListener("popstate", g, !1),
() => _.removeEventListener("popstate", g)
}
onHashChange(g) {
const _ = A().getGlobalEventTarget(this._doc, "window");
return _.addEventListener("hashchange", g, !1),
() => _.removeEventListener("hashchange", g)
}
get href() {
return this.location.href
}
get protocol() {
return this.location.protocol
}
get hostname() {
return this.location.hostname
}
get port() {
return this.location.port
}
get pathname() {
return this.location.pathname
}
get search() {
return this.location.search
}
get hash() {
return this.location.hash
}
set pathname(g) {
this.location.pathname = g
}
pushState(g, _, F) {
P() ? this._history.pushState(g, _, F) : this.location.hash = F
}
replaceState(g, _, F) {
P() ? this._history.replaceState(g, _, F) : this.location.hash = F
}
forward() {
this._history.forward()
}
back() {
this._history.back()
}
historyGo(g=0) {
this._history.go(g)
}
getState() {
return this._history.state
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.LFG(J))
}
,
d.\u0275prov = h.Yz7({
token: d,
factory: function() {
return function K() {
return new X((0,
h.LFG)(J))
}()
},
providedIn: "platform"
}),
d
}
)();
function P() {
return !!window.history.pushState
}
function M(d, y) {
if (0 == d.length)
return y;
if (0 == y.length)
return d;
let g = 0;
return d.endsWith("/") && g++,
y.startsWith("/") && g++,
2 == g ? d + y.substring(1) : 1 == g ? d + y : d + "/" + y
}
function B(d) {
const y = d.match(/#|\?|$/)
, g = y && y.index || d.length;
return d.slice(0, g - ("/" === d[g - 1] ? 1 : 0)) + d.slice(g)
}
function ne(d) {
return d && "?" !== d[0] ? "?" + d : d
}
let Pe = ( () => {
class d {
historyGo(g) {
throw new Error("Not implemented")
}
}
return d.\u0275fac = function(g) {
return new (g || d)
}
,
d.\u0275prov = h.Yz7({
token: d,
factory: function() {
return (0,
h.f3M)(xe)
},
providedIn: "root"
}),
d
}
)();
const Se = new h.OlP("appBaseHref");
let xe = ( () => {
class d extends Pe {
constructor(g, _) {
super(),
this._platformLocation = g,
this._removeListenerFns = [],
this._baseHref = _ ?? this._platformLocation.getBaseHrefFromDOM() ?? (0,
h.f3M)(J).location?.origin ?? ""
}
ngOnDestroy() {
for (; this._removeListenerFns.length; )
this._removeListenerFns.pop()()
}
onPopState(g) {
this._removeListenerFns.push(this._platformLocation.onPopState(g), this._platformLocation.onHashChange(g))
}
getBaseHref() {
return this._baseHref
}
prepareExternalUrl(g) {
return M(this._baseHref, g)
}
path(g=!1) {
const _ = this._platformLocation.pathname + ne(this._platformLocation.search)
, F = this._platformLocation.hash;
return F && g ? `${_}${F}` : _
}
pushState(g, _, F, de) {
const Ce = this.prepareExternalUrl(F + ne(de));
this._platformLocation.pushState(g, _, Ce)
}
replaceState(g, _, F, de) {
const Ce = this.prepareExternalUrl(F + ne(de));
this._platformLocation.replaceState(g, _, Ce)
}
forward() {
this._platformLocation.forward()
}
back() {
this._platformLocation.back()
}
getState() {
return this._platformLocation.getState()
}
historyGo(g=0) {
this._platformLocation.historyGo?.(g)
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.LFG(q),h.LFG(Se, 8))
}
,
d.\u0275prov = h.Yz7({
token: d,
factory: d.\u0275fac,
providedIn: "root"
}),
d
}
)()
, oe = ( () => {
class d extends Pe {
constructor(g, _) {
super(),
this._platformLocation = g,
this._baseHref = "",
this._removeListenerFns = [],
null != _ && (this._baseHref = _)
}
ngOnDestroy() {
for (; this._removeListenerFns.length; )
this._removeListenerFns.pop()()
}
onPopState(g) {
this._removeListenerFns.push(this._platformLocation.onPopState(g), this._platformLocation.onHashChange(g))
}
getBaseHref() {
return this._baseHref
}
path(g=!1) {
let _ = this._platformLocation.hash;
return null == _ && (_ = "#"),
_.length > 0 ? _.substring(1) : _
}
prepareExternalUrl(g) {
const _ = M(this._baseHref, g);
return _.length > 0 ? "#" + _ : _
}
pushState(g, _, F, de) {
let Ce = this.prepareExternalUrl(F + ne(de));
0 == Ce.length && (Ce = this._platformLocation.pathname),
this._platformLocation.pushState(g, _, Ce)
}
replaceState(g, _, F, de) {
let Ce = this.prepareExternalUrl(F + ne(de));
0 == Ce.length && (Ce = this._platformLocation.pathname),
this._platformLocation.replaceState(g, _, Ce)
}
forward() {
this._platformLocation.forward()
}
back() {
this._platformLocation.back()
}
getState() {
return this._platformLocation.getState()
}
historyGo(g=0) {
this._platformLocation.historyGo?.(g)
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.LFG(q),h.LFG(Se, 8))
}
,
d.\u0275prov = h.Yz7({
token: d,
factory: d.\u0275fac
}),
d
}
)()
, De = ( () => {
class d {
constructor(g) {
this._subject = new h.vpe,
this._urlChangeListeners = [],
this._urlChangeSubscription = null,
this._locationStrategy = g;
const _ = this._locationStrategy.getBaseHref();
this._baseHref = B(Q(_)),
this._locationStrategy.onPopState(F => {
this._subject.emit({
url: this.path(!0),
pop: !0,
state: F.state,
type: F.type
})
}
)
}
ngOnDestroy() {
this._urlChangeSubscription?.unsubscribe(),
this._urlChangeListeners = []
}
path(g=!1) {
return this.normalize(this._locationStrategy.path(g))
}
getState() {
return this._locationStrategy.getState()
}
isCurrentPathEqualTo(g, _="") {
return this.path() == this.normalize(g + ne(_))
}
normalize(g) {
return d.stripTrailingSlash(function ve(d, y) {
return d && y.startsWith(d) ? y.substring(d.length) : y
}(this._baseHref, Q(g)))
}
prepareExternalUrl(g) {
return g && "/" !== g[0] && (g = "/" + g),
this._locationStrategy.prepareExternalUrl(g)
}
go(g, _="", F=null) {
this._locationStrategy.pushState(F, "", g, _),
this._notifyUrlChangeListeners(this.prepareExternalUrl(g + ne(_)), F)
}
replaceState(g, _="", F=null) {
this._locationStrategy.replaceState(F, "", g, _),
this._notifyUrlChangeListeners(this.prepareExternalUrl(g + ne(_)), F)
}
forward() {
this._locationStrategy.forward()
}
back() {
this._locationStrategy.back()
}
historyGo(g=0) {
this._locationStrategy.historyGo?.(g)
}
onUrlChange(g) {
return this._urlChangeListeners.push(g),
this._urlChangeSubscription || (this._urlChangeSubscription = this.subscribe(_ => {
this._notifyUrlChangeListeners(_.url, _.state)
}
)),
() => {
const _ = this._urlChangeListeners.indexOf(g);
this._urlChangeListeners.splice(_, 1),
0 === this._urlChangeListeners.length && (this._urlChangeSubscription?.unsubscribe(),
this._urlChangeSubscription = null)
}
}
_notifyUrlChangeListeners(g="", _) {
this._urlChangeListeners.forEach(F => F(g, _))
}
subscribe(g, _, F) {
return this._subject.subscribe({
next: g,
error: _,
complete: F
})
}
}
return d.normalizeQueryParams = ne,
d.joinWithSlash = M,
d.stripTrailingSlash = B,
d.\u0275fac = function(g) {
return new (g || d)(h.LFG(Pe))
}
,
d.\u0275prov = h.Yz7({
token: d,
factory: function() {
return function me() {
return new De((0,
h.LFG)(Pe))
}()
},
providedIn: "root"
}),
d
}
)();
function Q(d) {
return d.replace(/\/index.html$/, "")
}
var Z = ( () => ((Z = Z || {})[Z.Decimal = 0] = "Decimal",
Z[Z.Percent = 1] = "Percent",
Z[Z.Currency = 2] = "Currency",
Z[Z.Scientific = 3] = "Scientific",
Z))()
, pe = ( () => ((pe = pe || {})[pe.Format = 0] = "Format",
pe[pe.Standalone = 1] = "Standalone",
pe))()
, L = ( () => ((L = L || {})[L.Narrow = 0] = "Narrow",
L[L.Abbreviated = 1] = "Abbreviated",
L[L.Wide = 2] = "Wide",
L[L.Short = 3] = "Short",
L))()
, _e = ( () => ((_e = _e || {})[_e.Short = 0] = "Short",
_e[_e.Medium = 1] = "Medium",
_e[_e.Long = 2] = "Long",
_e[_e.Full = 3] = "Full",
_e))()
, N = ( () => ((N = N || {})[N.Decimal = 0] = "Decimal",
N[N.Group = 1] = "Group",
N[N.List = 2] = "List",
N[N.PercentSign = 3] = "PercentSign",
N[N.PlusSign = 4] = "PlusSign",
N[N.MinusSign = 5] = "MinusSign",
N[N.Exponential = 6] = "Exponential",
N[N.SuperscriptingExponent = 7] = "SuperscriptingExponent",
N[N.PerMille = 8] = "PerMille",
N[N.Infinity = 9] = "Infinity",
N[N.NaN = 10] = "NaN",
N[N.TimeSeparator = 11] = "TimeSeparator",
N[N.CurrencyDecimal = 12] = "CurrencyDecimal",
N[N.CurrencyGroup = 13] = "CurrencyGroup",
N))();
function Me(d, y) {
return Lt((0,
h.cg1)(d)[h.wAp.DateFormat], y)
}
function Ee(d, y) {
return Lt((0,
h.cg1)(d)[h.wAp.TimeFormat], y)
}
function He(d, y) {
return Lt((0,
h.cg1)(d)[h.wAp.DateTimeFormat], y)
}
function We(d, y) {
const g = (0,
h.cg1)(d)
, _ = g[h.wAp.NumberSymbols][y];
if (typeof _ > "u") {
if (y === N.CurrencyDecimal)
return g[h.wAp.NumberSymbols][N.Decimal];
if (y === N.CurrencyGroup)
return g[h.wAp.NumberSymbols][N.Group]
}
return _
}
function Rt(d) {
if (!d[h.wAp.ExtraData])
throw new Error(`Missing extra locale data for the locale "${d[h.wAp.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)
}
function Lt(d, y) {
for (let g = y; g > -1; g--)
if (typeof d[g] < "u")
return d[g];
throw new Error("Locale data API: locale data undefined")
}
function Fn(d) {
const [y,g] = d.split(":");
return {
hours: +y,
minutes: +g
}
}
const Qe = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/
, zt = {}
, se = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;
var S = ( () => ((S = S || {})[S.Short = 0] = "Short",
S[S.ShortGMT = 1] = "ShortGMT",
S[S.Long = 2] = "Long",
S[S.Extended = 3] = "Extended",
S))()
, x = ( () => ((x = x || {})[x.FullYear = 0] = "FullYear",
x[x.Month = 1] = "Month",
x[x.Date = 2] = "Date",
x[x.Hours = 3] = "Hours",
x[x.Minutes = 4] = "Minutes",
x[x.Seconds = 5] = "Seconds",
x[x.FractionalSeconds = 6] = "FractionalSeconds",
x[x.Day = 7] = "Day",
x))()
, ie = ( () => ((ie = ie || {})[ie.DayPeriods = 0] = "DayPeriods",
ie[ie.Days = 1] = "Days",
ie[ie.Months = 2] = "Months",
ie[ie.Eras = 3] = "Eras",
ie))();
function ge(d, y, g, _) {
let F = function Un(d) {
if (or(d))
return d;
if ("number" == typeof d && !isNaN(d))
return new Date(d);
if ("string" == typeof d) {
if (d = d.trim(),
/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(d)) {
const [F,de=1,Ce=1] = d.split("-").map(Ge => +Ge);
return Ve(F, de - 1, Ce)
}
const g = parseFloat(d);
if (!isNaN(d - g))
return new Date(g);
let _;
if (_ = d.match(Qe))
return function jr(d) {
const y = new Date(0);
let g = 0
, _ = 0;
const F = d[8] ? y.setUTCFullYear : y.setFullYear
, de = d[8] ? y.setUTCHours : y.setHours;
d[9] && (g = Number(d[9] + d[10]),
_ = Number(d[9] + d[11])),
F.call(y, Number(d[1]), Number(d[2]) - 1, Number(d[3]));
const Ce = Number(d[4] || 0) - g
, Ge = Number(d[5] || 0) - _
, vt = Number(d[6] || 0)
, yt = Math.floor(1e3 * parseFloat("0." + (d[7] || 0)));
return de.call(y, Ce, Ge, vt, yt),
y
}(_)
}
const y = new Date(d);
if (!or(y))
throw new Error(`Unable to convert "${d}" into a date`);
return y
}(d);
y = Be(g, y) || y;
let Ge, Ce = [];
for (; y; ) {
if (Ge = se.exec(y),
!Ge) {
Ce.push(y);
break
}
{
Ce = Ce.concat(Ge.slice(1));
const Ct = Ce.pop();
if (!Ct)
break;
y = Ct
}
}
let vt = F.getTimezoneOffset();
_ && (vt = at(_, vt),
F = function ni(d, y, g) {
const _ = g ? -1 : 1
, F = d.getTimezoneOffset();
return function Jn(d, y) {
return (d = new Date(d.getTime())).setMinutes(d.getMinutes() + y),
d
}(d, _ * (at(y, F) - F))
}(F, _, !0));
let yt = "";
return Ce.forEach(Ct => {
const dt = function vn(d) {
if (rn[d])
return rn[d];
let y;
switch (d) {
case "G":
case "GG":
case "GGG":
y = Ke(ie.Eras, L.Abbreviated);
break;
case "GGGG":
y = Ke(ie.Eras, L.Wide);
break;
case "GGGGG":
y = Ke(ie.Eras, L.Narrow);
break;
case "y":
y = lt(x.FullYear, 1, 0, !1, !0);
break;
case "yy":
y = lt(x.FullYear, 2, 0, !0, !0);
break;
case "yyy":
y = lt(x.FullYear, 3, 0, !1, !0);
break;
case "yyyy":
y = lt(x.FullYear, 4, 0, !1, !0);
break;
case "Y":
y = Pn(1);
break;
case "YY":
y = Pn(2, !0);
break;
case "YYY":
y = Pn(3);
break;
case "YYYY":
y = Pn(4);
break;
case "M":
case "L":
y = lt(x.Month, 1, 1);
break;
case "MM":
case "LL":
y = lt(x.Month, 2, 1);
break;
case "MMM":
y = Ke(ie.Months, L.Abbreviated);
break;
case "MMMM":
y = Ke(ie.Months, L.Wide);
break;
case "MMMMM":
y = Ke(ie.Months, L.Narrow);
break;
case "LLL":
y = Ke(ie.Months, L.Abbreviated, pe.Standalone);
break;
case "LLLL":
y = Ke(ie.Months, L.Wide, pe.Standalone);
break;
case "LLLLL":
y = Ke(ie.Months, L.Narrow, pe.Standalone);
break;
case "w":
y = kn(1);
break;
case "ww":
y = kn(2);
break;
case "W":
y = kn(1, !0);
break;
case "d":
y = lt(x.Date, 1);
break;
case "dd":
y = lt(x.Date, 2);
break;
case "c":
case "cc":
y = lt(x.Day, 1);
break;
case "ccc":
y = Ke(ie.Days, L.Abbreviated, pe.Standalone);
break;
case "cccc":
y = Ke(ie.Days, L.Wide, pe.Standalone);
break;
case "ccccc":
y = Ke(ie.Days, L.Narrow, pe.Standalone);
break;
case "cccccc":
y = Ke(ie.Days, L.Short, pe.Standalone);
break;
case "E":
case "EE":
case "EEE":
y = Ke(ie.Days, L.Abbreviated);
break;
case "EEEE":
y = Ke(ie.Days, L.Wide);
break;
case "EEEEE":
y = Ke(ie.Days, L.Narrow);
break;
case "EEEEEE":
y = Ke(ie.Days, L.Short);
break;
case "a":
case "aa":
case "aaa":
y = Ke(ie.DayPeriods, L.Abbreviated);
break;
case "aaaa":
y = Ke(ie.DayPeriods, L.Wide);
break;
case "aaaaa":
y = Ke(ie.DayPeriods, L.Narrow);
break;
case "b":
case "bb":
case "bbb":
y = Ke(ie.DayPeriods, L.Abbreviated, pe.Standalone, !0);
break;
case "bbbb":
y = Ke(ie.DayPeriods, L.Wide, pe.Standalone, !0);
break;
case "bbbbb":
y = Ke(ie.DayPeriods, L.Narrow, pe.Standalone, !0);
break;
case "B":
case "BB":
case "BBB":
y = Ke(ie.DayPeriods, L.Abbreviated, pe.Format, !0);
break;
case "BBBB":
y = Ke(ie.DayPeriods, L.Wide, pe.Format, !0);
break;
case "BBBBB":
y = Ke(ie.DayPeriods, L.Narrow, pe.Format, !0);
break;
case "h":
y = lt(x.Hours, 1, -12);
break;
case "hh":
y = lt(x.Hours, 2, -12);
break;
case "H":
y = lt(x.Hours, 1);
break;
case "HH":
y = lt(x.Hours, 2);
break;
case "m":
y = lt(x.Minutes, 1);
break;
case "mm":
y = lt(x.Minutes, 2);
break;
case "s":
y = lt(x.Seconds, 1);
break;
case "ss":
y = lt(x.Seconds, 2);
break;
case "S":
y = lt(x.FractionalSeconds, 1);
break;
case "SS":
y = lt(x.FractionalSeconds, 2);
break;
case "SSS":
y = lt(x.FractionalSeconds, 3);
break;
case "Z":
case "ZZ":
case "ZZZ":
y = Et(S.Short);
break;
case "ZZZZZ":
y = Et(S.Extended);
break;
case "O":
case "OO":
case "OOO":
case "z":
case "zz":
case "zzz":
y = Et(S.ShortGMT);
break;
case "OOOO":
case "ZZZZ":
case "zzzz":
y = Et(S.Long);
break;
default:
return null
}
return rn[d] = y,
y
}(Ct);
yt += dt ? dt(F, g, vt) : "''" === Ct ? "'" : Ct.replace(/(^'|'$)/g, "").replace(/''/g, "'")
}
),
yt
}
function Ve(d, y, g) {
const _ = new Date(0);
return _.setFullYear(d, y, g),
_.setHours(0, 0, 0),
_
}
function Be(d, y) {
const g = function fe(d) {
return (0,
h.cg1)(d)[h.wAp.LocaleId]
}(d);
if (zt[g] = zt[g] || {},
zt[g][y])
return zt[g][y];
let _ = "";
switch (y) {
case "shortDate":
_ = Me(d, _e.Short);
break;
case "mediumDate":
_ = Me(d, _e.Medium);
break;
case "longDate":
_ = Me(d, _e.Long);
break;
case "fullDate":
_ = Me(d, _e.Full);
break;
case "shortTime":
_ = Ee(d, _e.Short);
break;
case "mediumTime":
_ = Ee(d, _e.Medium);
break;
case "longTime":
_ = Ee(d, _e.Long);
break;
case "fullTime":
_ = Ee(d, _e.Full);
break;
case "short":
const F = Be(d, "shortTime")
, de = Be(d, "shortDate");
_ = Fe(He(d, _e.Short), [F, de]);
break;
case "medium":
const Ce = Be(d, "mediumTime")
, Ge = Be(d, "mediumDate");
_ = Fe(He(d, _e.Medium), [Ce, Ge]);
break;
case "long":
const vt = Be(d, "longTime")
, yt = Be(d, "longDate");
_ = Fe(He(d, _e.Long), [vt, yt]);
break;
case "full":
const Ct = Be(d, "fullTime")
, dt = Be(d, "fullDate");
_ = Fe(He(d, _e.Full), [Ct, dt])
}
return _ && (zt[g][y] = _),
_
}
function Fe(d, y) {
return y && (d = d.replace(/\{([^}]+)}/g, function(g, _) {
return null != y && _ in y ? y[_] : g
})),
d
}
function $e(d, y, g="-", _, F) {
let de = "";
(d < 0 || F && d <= 0) && (F ? d = 1 - d : (d = -d,
de = g));
let Ce = String(d);
for (; Ce.length < y; )
Ce = "0" + Ce;
return _ && (Ce = Ce.slice(Ce.length - y)),
de + Ce
}
function lt(d, y, g=0, _=!1, F=!1) {
return function(de, Ce) {
let Ge = function Ht(d, y) {
switch (d) {
case x.FullYear:
return y.getFullYear();
case x.Month:
return y.getMonth();
case x.Date:
return y.getDate();
case x.Hours:
return y.getHours();
case x.Minutes:
return y.getMinutes();
case x.Seconds:
return y.getSeconds();
case x.FractionalSeconds:
return y.getMilliseconds();
case x.Day:
return y.getDay();
default:
throw new Error(`Unknown DateType value "${d}".`)
}
}(d, de);
if ((g > 0 || Ge > -g) && (Ge += g),
d === x.Hours)
0 === Ge && -12 === g && (Ge = 12);
else if (d === x.FractionalSeconds)
return function st(d, y) {
return $e(d, 3).substring(0, y)
}(Ge, y);
const vt = We(Ce, N.MinusSign);
return $e(Ge, y, vt, _, F)
}
}
function Ke(d, y, g=pe.Format, _=!1) {
return function(F, de) {
return function xt(d, y, g, _, F, de) {
switch (g) {
case ie.Months:
return function W(d, y, g) {
const _ = (0,
h.cg1)(d)
, de = Lt([_[h.wAp.MonthsFormat], _[h.wAp.MonthsStandalone]], y);
return Lt(de, g)
}(y, F, _)[d.getMonth()];
case ie.Days:
return function Le(d, y, g) {
const _ = (0,
h.cg1)(d)
, de = Lt([_[h.wAp.DaysFormat], _[h.wAp.DaysStandalone]], y);
return Lt(de, g)
}(y, F, _)[d.getDay()];
case ie.DayPeriods:
const Ce = d.getHours()
, Ge = d.getMinutes();
if (de) {
const yt = function Ft(d) {
const y = (0,
h.cg1)(d);
return Rt(y),
(y[h.wAp.ExtraData][2] || []).map(_ => "string" == typeof _ ? Fn(_) : [Fn(_[0]), Fn(_[1])])
}(y)
, Ct = function Nt(d, y, g) {
const _ = (0,
h.cg1)(d);
Rt(_);
const de = Lt([_[h.wAp.ExtraData][0], _[h.wAp.ExtraData][1]], y) || [];
return Lt(de, g) || []
}(y, F, _)
, dt = yt.findIndex(Ut => {
if (Array.isArray(Ut)) {
const [bt,Bt] = Ut
, Gn = Ce >= bt.hours && Ge >= bt.minutes
, _n = Ce < Bt.hours || Ce === Bt.hours && Ge < Bt.minutes;
if (bt.hours < Bt.hours) {
if (Gn && _n)
return !0
} else if (Gn || _n)
return !0
} else if (Ut.hours === Ce && Ut.minutes === Ge)
return !0;
return !1
}
);
if (-1 !== dt)
return Ct[dt]
}
return function Ne(d, y, g) {
const _ = (0,
h.cg1)(d)
, de = Lt([_[h.wAp.DayPeriodsFormat], _[h.wAp.DayPeriodsStandalone]], y);
return Lt(de, g)
}(y, F, _)[Ce < 12 ? 0 : 1];
case ie.Eras:
return function j(d, y) {
return Lt((0,
h.cg1)(d)[h.wAp.Eras], y)
}(y, _)[d.getFullYear() <= 0 ? 0 : 1];
default:
throw new Error(`unexpected translation type ${g}`)
}
}(F, de, d, y, g, _)
}
}
function Et(d) {
return function(y, g, _) {
const F = -1 * _
, de = We(g, N.MinusSign)
, Ce = F > 0 ? Math.floor(F / 60) : Math.ceil(F / 60);
switch (d) {
case S.Short:
return (F >= 0 ? "+" : "") + $e(Ce, 2, de) + $e(Math.abs(F % 60), 2, de);
case S.ShortGMT:
return "GMT" + (F >= 0 ? "+" : "") + $e(Ce, 1, de);
case S.Long:
return "GMT" + (F >= 0 ? "+" : "") + $e(Ce, 2, de) + ":" + $e(Math.abs(F % 60), 2, de);
case S.Extended:
return 0 === _ ? "Z" : (F >= 0 ? "+" : "") + $e(Ce, 2, de) + ":" + $e(Math.abs(F % 60), 2, de);
default:
throw new Error(`Unknown zone width "${d}"`)
}
}
}
function Ln(d) {
return Ve(d.getFullYear(), d.getMonth(), d.getDate() + (4 - d.getDay()))
}
function kn(d, y=!1) {
return function(g, _) {
let F;
if (y) {
const de = new Date(g.getFullYear(),g.getMonth(),1).getDay() - 1
, Ce = g.getDate();
F = 1 + Math.floor((Ce + de) / 7)
} else {
const de = Ln(g)
, Ce = function kt(d) {
const y = Ve(d, 0, 1).getDay();
return Ve(d, 0, 1 + (y <= 4 ? 4 : 11) - y)
}(de.getFullYear())
, Ge = de.getTime() - Ce.getTime();
F = 1 + Math.round(Ge / 6048e5)
}
return $e(F, d, We(_, N.MinusSign))
}
}
function Pn(d, y=!1) {
return function(g, _) {
return $e(Ln(g).getFullYear(), d, We(_, N.MinusSign), y)
}
}
const rn = {};
function at(d, y) {
d = d.replace(/:/g, "");
const g = Date.parse("Jan 01, 1970 00:00:00 " + d) / 6e4;
return isNaN(g) ? y : g
}
function or(d) {
return d instanceof Date && !isNaN(d.valueOf())
}
const wr = /^(\d+)?\.((\d+)(-(\d+))?)?$/
, Y = "."
, $ = "0";
function Tt(d) {
const y = parseInt(d);
if (isNaN(y))
throw new Error("Invalid integer literal when parsing " + d);
return y
}
function Sr(d, y) {
y = encodeURIComponent(y);
for (const g of d.split(";")) {
const _ = g.indexOf("=")
, [F,de] = -1 == _ ? [g, ""] : [g.slice(0, _), g.slice(_ + 1)];
if (F.trim() === y)
return decodeURIComponent(de)
}
return null
}
class xr {
constructor(y, g, _, F) {
this.$implicit = y,
this.ngForOf = g,
this.index = _,
this.count = F
}
get first() {
return 0 === this.index
}
get last() {
return this.index === this.count - 1
}
get even() {
return this.index % 2 == 0
}
get odd() {
return !this.even
}
}
let yn = ( () => {
class d {
constructor(g, _, F) {
this._viewContainer = g,
this._template = _,
this._differs = F,
this._ngForOf = null,
this._ngForOfDirty = !0,
this._differ = null
}
set ngForOf(g) {
this._ngForOf = g,
this._ngForOfDirty = !0
}
set ngForTrackBy(g) {
this._trackByFn = g
}
get ngForTrackBy() {
return this._trackByFn
}
set ngForTemplate(g) {
g && (this._template = g)
}
ngDoCheck() {
if (this._ngForOfDirty) {
this._ngForOfDirty = !1;
const g = this._ngForOf;
!this._differ && g && (this._differ = this._differs.find(g).create(this.ngForTrackBy))
}
if (this._differ) {
const g = this._differ.diff(this._ngForOf);
g && this._applyChanges(g)
}
}
_applyChanges(g) {
const _ = this._viewContainer;
g.forEachOperation( (F, de, Ce) => {
if (null == F.previousIndex)
_.createEmbeddedView(this._template, new xr(F.item,this._ngForOf,-1,-1), null === Ce ? void 0 : Ce);
else if (null == Ce)
_.remove(null === de ? void 0 : de);
else if (null !== de) {
const Ge = _.get(de);
_.move(Ge, Ce),
Mn(Ge, F)
}
}
);
for (let F = 0, de = _.length; F < de; F++) {
const Ge = _.get(F).context;
Ge.index = F,
Ge.count = de,
Ge.ngForOf = this._ngForOf
}
g.forEachIdentityChange(F => {
Mn(_.get(F.currentIndex), F)
}
)
}
static ngTemplateContextGuard(g, _) {
return !0
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(h.ZZ4))
}
,
d.\u0275dir = h.lG2({
type: d,
selectors: [["", "ngFor", "", "ngForOf", ""]],
inputs: {
ngForOf: "ngForOf",
ngForTrackBy: "ngForTrackBy",
ngForTemplate: "ngForTemplate"
},
standalone: !0
}),
d
}
)();
function Mn(d, y) {
d.context.$implicit = y.item
}
let mt = ( () => {
class d {
constructor(g, _) {
this._viewContainer = g,
this._context = new ri,
this._thenTemplateRef = null,
this._elseTemplateRef = null,
this._thenViewRef = null,
this._elseViewRef = null,
this._thenTemplateRef = _
}
set ngIf(g) {
this._context.$implicit = this._context.ngIf = g,
this._updateView()
}
set ngIfThen(g) {
xo("ngIfThen", g),
this._thenTemplateRef = g,
this._thenViewRef = null,
this._updateView()
}
set ngIfElse(g) {
xo("ngIfElse", g),
this._elseTemplateRef = g,
this._elseViewRef = null,
this._updateView()
}
_updateView() {
this._context.$implicit ? this._thenViewRef || (this._viewContainer.clear(),
this._elseViewRef = null,
this._thenTemplateRef && (this._thenViewRef = this._viewContainer.createEmbeddedView(this._thenTemplateRef, this._context))) : this._elseViewRef || (this._viewContainer.clear(),
this._thenViewRef = null,
this._elseTemplateRef && (this._elseViewRef = this._viewContainer.createEmbeddedView(this._elseTemplateRef, this._context)))
}
static ngTemplateContextGuard(g, _) {
return !0
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.Y36(h.s_b),h.Y36(h.Rgc))
}
,
d.\u0275dir = h.lG2({
type: d,
selectors: [["", "ngIf", ""]],
inputs: {
ngIf: "ngIf",
ngIfThen: "ngIfThen",
ngIfElse: "ngIfElse"
},
standalone: !0
}),
d
}
)();
class ri {
constructor() {
this.$implicit = null,
this.ngIf = null
}
}
function xo(d, y) {
if (y && !y.createEmbeddedView)
throw new Error(`${d} must be a TemplateRef, but received '${(0,
h.AaK)(y)}'.`)
}
class ar {
constructor(y, g) {
this._viewContainerRef = y,
this._templateRef = g,
this._created = !1
}
create() {
this._created = !0,
this._viewContainerRef.createEmbeddedView(this._templateRef)
}
destroy() {
this._created = !1,
this._viewContainerRef.clear()
}
enforceState(y) {
y && !this._created ? this.create() : !y && this._created && this.destroy()
}
}
let Sn = ( () => {
class d {
constructor() {
this._defaultUsed = !1,
this._caseCount = 0,
this._lastCaseCheckIndex = 0,
this._lastCasesMatched = !1
}
set ngSwitch(g) {
this._ngSwitch = g,
0 === this._caseCount && this._updateDefaultCases(!0)
}
_addCase() {
return this._caseCount++
}
_addDefault(g) {
this._defaultViews || (this._defaultViews = []),
this._defaultViews.push(g)
}
_matchCase(g) {
const _ = g == this._ngSwitch;
return this._lastCasesMatched = this._lastCasesMatched || _,
this._lastCaseCheckIndex++,
this._lastCaseCheckIndex === this._caseCount && (this._updateDefaultCases(!this._lastCasesMatched),
this._lastCaseCheckIndex = 0,
this._lastCasesMatched = !1),
_
}
_updateDefaultCases(g) {
if (this._defaultViews && g !== this._defaultUsed) {
this._defaultUsed = g;
for (let _ = 0; _ < this._defaultViews.length; _++)
this._defaultViews[_].enforceState(g)
}
}
}
return d.\u0275fac = function(g) {
return new (g || d)
}
,
d.\u0275dir = h.lG2({
type: d,
selectors: [["", "ngSwitch", ""]],
inputs: {
ngSwitch: "ngSwitch"
},
standalone: !0
}),
d
}
)()
, Ar = ( () => {
class d {
constructor(g, _, F) {
this.ngSwitch = F,
F._addCase(),
this._view = new ar(g,_)
}
ngDoCheck() {
this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.Y36(h.s_b),h.Y36(h.Rgc),h.Y36(Sn, 9))
}
,
d.\u0275dir = h.lG2({
type: d,
selectors: [["", "ngSwitchCase", ""]],
inputs: {
ngSwitchCase: "ngSwitchCase"
},
standalone: !0
}),
d
}
)()
, Vt = ( () => {
class d {
constructor(g, _, F) {
this._ngEl = g,
this._differs = _,
this._renderer = F,
this._ngStyle = null,
this._differ = null
}
set ngStyle(g) {
this._ngStyle = g,
!this._differ && g && (this._differ = this._differs.find(g).create())
}
ngDoCheck() {
if (this._differ) {
const g = this._differ.diff(this._ngStyle);
g && this._applyChanges(g)
}
}
_setStyle(g, _) {
const [F,de] = g.split(".")
, Ce = -1 === F.indexOf("-") ? void 0 : h.JOm.DashCase;
null != _ ? this._renderer.setStyle(this._ngEl.nativeElement, F, de ? `${_}${de}` : _, Ce) : this._renderer.removeStyle(this._ngEl.nativeElement, F, Ce)
}
_applyChanges(g) {
g.forEachRemovedItem(_ => this._setStyle(_.key, null)),
g.forEachAddedItem(_ => this._setStyle(_.key, _.currentValue)),
g.forEachChangedItem(_ => this._setStyle(_.key, _.currentValue))
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.Y36(h.SBq),h.Y36(h.aQg),h.Y36(h.Qsj))
}
,
d.\u0275dir = h.lG2({
type: d,
selectors: [["", "ngStyle", ""]],
inputs: {
ngStyle: "ngStyle"
},
standalone: !0
}),
d
}
)();
function cn(d, y) {
return new h.vHH(2100,!1)
}
const aa = new h.OlP("DATE_PIPE_DEFAULT_TIMEZONE");
let ns = ( () => {
class d {
constructor(g, _) {
this.locale = g,
this.defaultTimezone = _
}
transform(g, _="mediumDate", F, de) {
if (null == g || "" === g || g != g)
return null;
try {
return ge(g, _, de || this.locale, F ?? this.defaultTimezone ?? void 0)
} catch (Ce) {
throw cn()
}
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.Y36(h.soG, 16),h.Y36(aa, 24))
}
,
d.\u0275pipe = h.Yjl({
name: "date",
type: d,
pure: !0,
standalone: !0
}),
d
}
)()
, ii = ( () => {
class d {
constructor(g) {
this._locale = g
}
transform(g, _, F) {
if (!function ur(d) {
return !(null == d || "" === d || d != d)
}(g))
return null;
F = F || this._locale;
try {
return function wt(d, y, g) {
return function gt(d, y, g, _, F, de, Ce=!1) {
let Ge = ""
, vt = !1;
if (isFinite(d)) {
let yt = function Gt(d) {
let _, F, de, Ce, Ge, y = Math.abs(d) + "", g = 0;
for ((F = y.indexOf(Y)) > -1 && (y = y.replace(Y, "")),
(de = y.search(/e/i)) > 0 ? (F < 0 && (F = de),
F += +y.slice(de + 1),
y = y.substring(0, de)) : F < 0 && (F = y.length),
de = 0; y.charAt(de) === $; de++)
;
if (de === (Ge = y.length))
_ = [0],
F = 1;
else {
for (Ge--; y.charAt(Ge) === $; )
Ge--;
for (F -= de,
_ = [],
Ce = 0; de <= Ge; de++,
Ce++)
_[Ce] = Number(y.charAt(de))
}
return F > 22 && (_ = _.splice(0, 21),
g = F - 1,
F = 1),
{
digits: _,
exponent: g,
integerLen: F
}
}(d);
Ce && (yt = function On(d) {
if (0 === d.digits[0])
return d;
const y = d.digits.length - d.integerLen;
return d.exponent ? d.exponent += 2 : (0 === y ? d.digits.push(0, 0) : 1 === y && d.digits.push(0),
d.integerLen += 2),
d
}(yt));
let Ct = y.minInt
, dt = y.minFrac
, Ut = y.maxFrac;
if (de) {
const Wn = de.match(wr);
if (null === Wn)
throw new Error(`${de} is not a valid digit info`);
const Kn = Wn[1]
, Kr = Wn[3]
, Yr = Wn[5];
null != Kn && (Ct = Tt(Kn)),
null != Kr && (dt = Tt(Kr)),
null != Yr ? Ut = Tt(Yr) : null != Kr && dt > Ut && (Ut = dt)
}
!function ir(d, y, g) {
if (y > g)
throw new Error(`The minimum number of digits after fraction (${y}) is higher than the maximum (${g}).`);
let _ = d.digits
, F = _.length - d.integerLen;
const de = Math.min(Math.max(y, F), g);
let Ce = de + d.integerLen
, Ge = _[Ce];
if (Ce > 0) {
_.splice(Math.max(d.integerLen, Ce));
for (let dt = Ce; dt < _.length; dt++)
_[dt] = 0
} else {
F = Math.max(0, F),
d.integerLen = 1,
_.length = Math.max(1, Ce = de + 1),
_[0] = 0;
for (let dt = 1; dt < Ce; dt++)
_[dt] = 0
}
if (Ge >= 5)
if (Ce - 1 < 0) {
for (let dt = 0; dt > Ce; dt--)
_.unshift(0),
d.integerLen++;
_.unshift(1),
d.integerLen++
} else
_[Ce - 1]++;
for (; F < Math.max(0, de); F++)
_.push(0);
let vt = 0 !== de;
const yt = y + d.integerLen
, Ct = _.reduceRight(function(dt, Ut, bt, Bt) {
return Bt[bt] = (Ut += dt) < 10 ? Ut : Ut - 10,
vt && (0 === Bt[bt] && bt >= yt ? Bt.pop() : vt = !1),
Ut >= 10 ? 1 : 0
}, 0);
Ct && (_.unshift(Ct),
d.integerLen++)
}(yt, dt, Ut);
let bt = yt.digits
, Bt = yt.integerLen;
const Gn = yt.exponent;
let _n = [];
for (vt = bt.every(Wn => !Wn); Bt < Ct; Bt++)
bt.unshift(0);
for (; Bt < 0; Bt++)
bt.unshift(0);
Bt > 0 ? _n = bt.splice(Bt, bt.length) : (_n = bt,
bt = [0]);
const gn = [];
for (bt.length >= y.lgSize && gn.unshift(bt.splice(-y.lgSize, bt.length).join("")); bt.length > y.gSize; )
gn.unshift(bt.splice(-y.gSize, bt.length).join(""));
bt.length && gn.unshift(bt.join("")),
Ge = gn.join(We(g, _)),
_n.length && (Ge += We(g, F) + _n.join("")),
Gn && (Ge += We(g, N.Exponential) + "+" + Gn)
} else
Ge = We(g, N.Infinity);
return Ge = d < 0 && !vt ? y.negPre + Ge + y.negSuf : y.posPre + Ge + y.posSuf,
Ge
}(d, function on(d, y="-") {
const g = {
minInt: 1,
minFrac: 0,
maxFrac: 0,
posPre: "",
posSuf: "",
negPre: "",
negSuf: "",
gSize: 0,
lgSize: 0
}
, _ = d.split(";")
, F = _[0]
, de = _[1]
, Ce = -1 !== F.indexOf(Y) ? F.split(Y) : [F.substring(0, F.lastIndexOf($) + 1), F.substring(F.lastIndexOf($) + 1)]
, Ge = Ce[0]
, vt = Ce[1] || "";
g.posPre = Ge.substring(0, Ge.indexOf("#"));
for (let Ct = 0; Ct < vt.length; Ct++) {
const dt = vt.charAt(Ct);
dt === $ ? g.minFrac = g.maxFrac = Ct + 1 : "#" === dt ? g.maxFrac = Ct + 1 : g.posSuf += dt
}
const yt = Ge.split(",");
if (g.gSize = yt[1] ? yt[1].length : 0,
g.lgSize = yt[2] || yt[1] ? (yt[2] || yt[1]).length : 0,
de) {
const Ct = F.length - g.posPre.length - g.posSuf.length
, dt = de.indexOf("#");
g.negPre = de.substring(0, dt).replace(/'/g, ""),
g.negSuf = de.slice(dt + Ct).replace(/'/g, "")
} else
g.negPre = y + g.posPre,
g.negSuf = g.posSuf;
return g
}(function ht(d, y) {
return (0,
h.cg1)(d)[h.wAp.NumberFormats][y]
}(y, Z.Decimal), We(y, N.MinusSign)), y, N.Group, N.Decimal, g)
}(function ao(d) {
if ("string" == typeof d && !isNaN(Number(d) - parseFloat(d)))
return Number(d);
if ("number" != typeof d)
throw new Error(`${d} is not a number`);
return d
}(g), F, _)
} catch (de) {
throw cn()
}
}
}
return d.\u0275fac = function(g) {
return new (g || d)(h.Y36(h.soG, 16))
}
,
d.\u0275pipe = h.Yjl({
name: "number",
type: d,
pure: !0,
standalone: !0
}),
d
}
)();
let Xn = ( () => {
class d {
}
return d.\u0275fac = function(g) {
return new (g || d)
}
,
d.\u0275mod = h.oAB({
type: d
}),
d.\u0275inj = h.cJS({}),
d
}
)();
const Po = "browser";
let Fo = ( () => {
class d {
}
return d.\u0275prov = (0,
h.Yz7)({
token: d,
providedIn: "root",
factory: () => new un((0,
h.LFG)(J),window)
}),
d
}
)();
class un {
constructor(y, g) {
this.document = y,
this.window = g,
this.offset = () => [0, 0]
}
setOffset(y) {
this.offset = Array.isArray(y) ? () => y : y
}
getScrollPosition() {
return this.supportsScrolling() ? [this.window.pageXOffset, this.window.pageYOffset] : [0, 0]
}
scrollToPosition(y) {
this.supportsScrolling() && this.window.scrollTo(y[0], y[1])
}
scrollToAnchor(y) {
if (!this.supportsScrolling())
return;
const g = function $r(d, y) {
const g = d.getElementById(y) || d.getElementsByName(y)[0];
if (g)
return g;
if ("function" == typeof d.createTreeWalker && d.body && (d.body.createShadowRoot || d.body.attachShadow)) {
const _ = d.createTreeWalker(d.body, NodeFilter.SHOW_ELEMENT);
let F = _.currentNode;
for (; F; ) {
const de = F.shadowRoot;
if (de) {
const Ce = de.getElementById(y) || de.querySelector(`[name="${y}"]`);
if (Ce)
return Ce
}
F = _.nextNode()
}
}
return null
}(this.document, y);
g && (this.scrollToElement(g),
g.focus())
}
setHistoryScrollRestoration(y) {
if (this.supportScrollRestoration()) {
const g = this.window.history;
g && g.scrollRestoration && (g.scrollRestoration = y)
}
}
scrollToElement(y) {
const g = y.getBoundingClientRect()
, _ = g.left + this.window.pageXOffset
, F = g.top + this.window.pageYOffset
, de = this.offset();
this.window.scrollTo(_ - de[0], F - de[1])
}
supportScrollRestoration() {
try {
if (!this.supportsScrolling())
return !1;
const y = lo(this.window.history) || lo(Object.getPrototypeOf(this.window.history));
return !(!y || !y.writable && !y.set)
} catch {
return !1
}
}
supportsScrolling() {
try {
return !!this.window && !!this.window.scrollTo && "pageXOffset"in this.window
} catch {
return !1
}
}
}
function lo(d) {
return Object.getOwnPropertyDescriptor(d, "scrollRestoration")
}
class os {
}
}
,
529: (Oe, ae, D) => {
"use strict";
D.d(ae, {
JF: () => At,
TP: () => Le,
Zn: () => _e,
eN: () => fe
});
var h = D(6895)
, w = D(8256)
, A = D(9646)
, G = D(9751)
, U = D(4351)
, le = D(9300)
, J = D(4004);
class q {
}
class te {
}
class R {
constructor(S) {
this.normalizedNames = new Map,
this.lazyUpdate = null,
S ? this.lazyInit = "string" == typeof S ? () => {
this.headers = new Map,
S.split("\n").forEach(x => {
const ie = x.indexOf(":");
if (ie > 0) {
const ge = x.slice(0, ie)
, Ve = ge.toLowerCase()
, Be = x.slice(ie + 1).trim();
this.maybeSetNormalizedName(ge, Ve),
this.headers.has(Ve) ? this.headers.get(Ve).push(Be) : this.headers.set(Ve, [Be])
}
}
)
}
: () => {
this.headers = new Map,
Object.keys(S).forEach(x => {
let ie = S[x];
const ge = x.toLowerCase();
"string" == typeof ie && (ie = [ie]),
ie.length > 0 && (this.headers.set(ge, ie),
this.maybeSetNormalizedName(x, ge))
}
)
}
: this.headers = new Map
}
has(S) {
return this.init(),
this.headers.has(S.toLowerCase())
}
get(S) {
this.init();
const x = this.headers.get(S.toLowerCase());
return x && x.length > 0 ? x[0] : null
}
keys() {
return this.init(),
Array.from(this.normalizedNames.values())
}
getAll(S) {
return this.init(),
this.headers.get(S.toLowerCase()) || null
}
append(S, x) {
return this.clone({
name: S,
value: x,
op: "a"
})
}
set(S, x) {
return this.clone({
name: S,
value: x,
op: "s"
})
}
delete(S, x) {
return this.clone({
name: S,
value: x,
op: "d"
})
}
maybeSetNormalizedName(S, x) {
this.normalizedNames.has(x) || this.normalizedNames.set(x, S)
}
init() {
this.lazyInit && (this.lazyInit instanceof R ? this.copyFrom(this.lazyInit) : this.lazyInit(),
this.lazyInit = null,
this.lazyUpdate && (this.lazyUpdate.forEach(S => this.applyUpdate(S)),
this.lazyUpdate = null))
}
copyFrom(S) {
S.init(),
Array.from(S.headers.keys()).forEach(x => {
this.headers.set(x, S.headers.get(x)),
this.normalizedNames.set(x, S.normalizedNames.get(x))
}
)
}
clone(S) {
const x = new R;
return x.lazyInit = this.lazyInit && this.lazyInit instanceof R ? this.lazyInit : this,
x.lazyUpdate = (this.lazyUpdate || []).concat([S]),
x
}
applyUpdate(S) {
const x = S.name.toLowerCase();
switch (S.op) {
case "a":
case "s":
let ie = S.value;
if ("string" == typeof ie && (ie = [ie]),
0 === ie.length)
return;
this.maybeSetNormalizedName(S.name, x);
const ge = ("a" === S.op ? this.headers.get(x) : void 0) || [];
ge.push(...ie),
this.headers.set(x, ge);
break;
case "d":
const Ve = S.value;
if (Ve) {
let Be = this.headers.get(x);
if (!Be)
return;
Be = Be.filter(Fe => -1 === Ve.indexOf(Fe)),
0 === Be.length ? (this.headers.delete(x),
this.normalizedNames.delete(x)) : this.headers.set(x, Be)
} else
this.headers.delete(x),
this.normalizedNames.delete(x)
}
}
forEach(S) {
this.init(),
Array.from(this.normalizedNames.keys()).forEach(x => S(this.normalizedNames.get(x), this.headers.get(x)))
}
}
class P {
encodeKey(S) {
return ne(S)
}
encodeValue(S) {
return ne(S)
}
decodeKey(S) {
return decodeURIComponent(S)
}
decodeValue(S) {
return decodeURIComponent(S)
}
}
const M = /%(\d[a-f0-9])/gi
, B = {
40: "@",
"3A": ":",
24: "$",
"2C": ",",
"3B": ";",
"3D": "=",
"3F": "?",
"2F": "/"
};
function ne(se) {
return encodeURIComponent(se).replace(M, (S, x) => B[x] ?? S)
}
function Pe(se) {
return `${se}`
}
class Se {
constructor(S={}) {
if (this.updates = null,
this.cloneFrom = null,
this.encoder = S.encoder || new P,
S.fromString) {
if (S.fromObject)
throw new Error("Cannot specify both fromString and fromObject.");
this.map = function K(se, S) {
const x = new Map;
return se.length > 0 && se.replace(/^\?/, "").split("&").forEach(ge => {
const Ve = ge.indexOf("=")
, [Be,Fe] = -1 == Ve ? [S.decodeKey(ge), ""] : [S.decodeKey(ge.slice(0, Ve)), S.decodeValue(ge.slice(Ve + 1))]
, $e = x.get(Be) || [];
$e.push(Fe),
x.set(Be, $e)
}
),
x
}(S.fromString, this.encoder)
} else
S.fromObject ? (this.map = new Map,
Object.keys(S.fromObject).forEach(x => {
const ie = S.fromObject[x]
, ge = Array.isArray(ie) ? ie.map(Pe) : [Pe(ie)];
this.map.set(x, ge)
}
)) : this.map = null
}
has(S) {
return this.init(),
this.map.has(S)
}
get(S) {
this.init();
const x = this.map.get(S);
return x ? x[0] : null
}
getAll(S) {
return this.init(),
this.map.get(S) || null
}
keys() {
return this.init(),
Array.from(this.map.keys())
}
append(S, x) {
return this.clone({
param: S,
value: x,
op: "a"
})
}
appendAll(S) {
const x = [];
return Object.keys(S).forEach(ie => {
const ge = S[ie];
Array.isArray(ge) ? ge.forEach(Ve => {
x.push({
param: ie,
value: Ve,
op: "a"
})
}
) : x.push({
param: ie,
value: ge,
op: "a"
})
}
),
this.clone(x)
}
set(S, x) {
return this.clone({
param: S,
value: x,
op: "s"
})
}
delete(S, x) {
return this.clone({
param: S,
value: x,
op: "d"
})
}
toString() {
return this.init(),
this.keys().map(S => {
const x = this.encoder.encodeKey(S);
return this.map.get(S).map(ie => x + "=" + this.encoder.encodeValue(ie)).join("&")
}
).filter(S => "" !== S).join("&")
}
clone(S) {
const x = new Se({
encoder: this.encoder
});
return x.cloneFrom = this.cloneFrom || this,
x.updates = (this.updates || []).concat(S),
x
}
init() {
null === this.map && (this.map = new Map),
null !== this.cloneFrom && (this.cloneFrom.init(),
this.cloneFrom.keys().forEach(S => this.map.set(S, this.cloneFrom.map.get(S))),
this.updates.forEach(S => {
switch (S.op) {
case "a":
case "s":
const x = ("a" === S.op ? this.map.get(S.param) : void 0) || [];
x.push(Pe(S.value)),
this.map.set(S.param, x);
break;
case "d":
if (void 0 === S.value) {
this.map.delete(S.param);
break
}
{
let ie = this.map.get(S.param) || [];
const ge = ie.indexOf(Pe(S.value));
-1 !== ge && ie.splice(ge, 1),
ie.length > 0 ? this.map.set(S.param, ie) : this.map.delete(S.param)
}
}
}
),
this.cloneFrom = this.updates = null)
}
}
class oe {
constructor() {
this.map = new Map
}
set(S, x) {
return this.map.set(S, x),
this
}
get(S) {
return this.map.has(S) || this.map.set(S, S.defaultValue()),
this.map.get(S)
}
delete(S) {
return this.map.delete(S),
this
}
has(S) {
return this.map.has(S)
}
keys() {
return this.map.keys()
}
}
function me(se) {
return typeof ArrayBuffer < "u" && se instanceof ArrayBuffer
}
function ve(se) {
return typeof Blob < "u" && se instanceof Blob
}
function Q(se) {
return typeof FormData < "u" && se instanceof FormData
}
class Z {
constructor(S, x, ie, ge) {
let Ve;
if (this.url = x,
this.body = null,
this.reportProgress = !1,
this.withCredentials = !1,
this.responseType = "json",
this.method = S.toUpperCase(),
function De(se) {
switch (se) {
case "DELETE":
case "GET":
case "HEAD":
case "OPTIONS":
case "JSONP":
return !1;
default:
return !0
}
}(this.method) || ge ? (this.body = void 0 !== ie ? ie : null,
Ve = ge) : Ve = ie,
Ve && (this.reportProgress = !!Ve.reportProgress,
this.withCredentials = !!Ve.withCredentials,
Ve.responseType && (this.responseType = Ve.responseType),
Ve.headers && (this.headers = Ve.headers),
Ve.context && (this.context = Ve.context),
Ve.params && (this.params = Ve.params)),
this.headers || (this.headers = new R),
this.context || (this.context = new oe),
this.params) {
const Be = this.params.toString();
if (0 === Be.length)
this.urlWithParams = x;
else {
const Fe = x.indexOf("?");
this.urlWithParams = x + (-1 === Fe ? "?" : Fe < x.length - 1 ? "&" : "") + Be
}
} else
this.params = new Se,
this.urlWithParams = x
}
serializeBody() {
return null === this.body ? null : me(this.body) || ve(this.body) || Q(this.body) || function V(se) {
return typeof URLSearchParams < "u" && se instanceof URLSearchParams
}(this.body) || "string" == typeof this.body ? this.body : this.body instanceof Se ? this.body.toString() : "object" == typeof this.body || "boolean" == typeof this.body || Array.isArray(this.body) ? JSON.stringify(this.body) : this.body.toString()
}
detectContentTypeHeader() {
return null === this.body || Q(this.body) ? null : ve(this.body) ? this.body.type || null : me(this.body) ? null : "string" == typeof this.body ? "text/plain" : this.body instanceof Se ? "application/x-www-form-urlencoded;charset=UTF-8" : "object" == typeof this.body || "number" == typeof this.body || "boolean" == typeof this.body ? "application/json" : null
}
clone(S={}) {
const x = S.method || this.method
, ie = S.url || this.url
, ge = S.responseType || this.responseType
, Ve = void 0 !== S.body ? S.body : this.body
, Be = void 0 !== S.withCredentials ? S.withCredentials : this.withCredentials
, Fe = void 0 !== S.reportProgress ? S.reportProgress : this.reportProgress;
let $e = S.headers || this.headers
, st = S.params || this.params;
const lt = S.context ?? this.context;
return void 0 !== S.setHeaders && ($e = Object.keys(S.setHeaders).reduce( (Ht, Ke) => Ht.set(Ke, S.setHeaders[Ke]), $e)),
S.setParams && (st = Object.keys(S.setParams).reduce( (Ht, Ke) => Ht.set(Ke, S.setParams[Ke]), st)),
new Z(x,ie,Ve,{
params: st,
headers: $e,
context: lt,
reportProgress: Fe,
responseType: ge,
withCredentials: Be
})
}
}
var z = ( () => ((z = z || {})[z.Sent = 0] = "Sent",
z[z.UploadProgress = 1] = "UploadProgress",
z[z.ResponseHeader = 2] = "ResponseHeader",
z[z.DownloadProgress = 3] = "DownloadProgress",
z[z.Response = 4] = "Response",
z[z.User = 5] = "User",
z))();
class pe {
constructor(S, x=200, ie="OK") {
this.headers = S.headers || new R,
this.status = void 0 !== S.status ? S.status : x,
this.statusText = S.statusText || ie,
this.url = S.url || null,
this.ok = this.status >= 200 && this.status < 300
}
}
class L extends pe {
constructor(S={}) {
super(S),
this.type = z.ResponseHeader
}
clone(S={}) {
return new L({
headers: S.headers || this.headers,
status: void 0 !== S.status ? S.status : this.status,
statusText: S.statusText || this.statusText,
url: S.url || this.url || void 0
})
}
}
class _e extends pe {
constructor(S={}) {
super(S),
this.type = z.Response,
this.body = void 0 !== S.body ? S.body : null
}
clone(S={}) {
return new _e({
body: void 0 !== S.body ? S.body : this.body,
headers: S.headers || this.headers,
status: void 0 !== S.status ? S.status : this.status,
statusText: S.statusText || this.statusText,
url: S.url || this.url || void 0
})
}
}
class N extends pe {
constructor(S) {
super(S, 0, "Unknown Error"),
this.name = "HttpErrorResponse",
this.ok = !1,
this.message = this.status >= 200 && this.status < 300 ? `Http failure during parsing for ${S.url || "(unknown url)"}` : `Http failure response for ${S.url || "(unknown url)"}: ${S.status} ${S.statusText}`,
this.error = S.error || null
}
}
function Re(se, S) {
return {
body: S,
headers: se.headers,
context: se.context,
observe: se.observe,
params: se.params,
reportProgress: se.reportProgress,
responseType: se.responseType,
withCredentials: se.withCredentials
}
}
let fe = ( () => {
class se {
constructor(x) {
this.handler = x
}
request(x, ie, ge={}) {
let Ve;
if (x instanceof Z)
Ve = x;
else {
let $e, st;
$e = ge.headers instanceof R ? ge.headers : new R(ge.headers),
ge.params && (st = ge.params instanceof Se ? ge.params : new Se({
fromObject: ge.params
})),
Ve = new Z(x,ie,void 0 !== ge.body ? ge.body : null,{
headers: $e,
context: ge.context,
params: st,
reportProgress: ge.reportProgress,
responseType: ge.responseType || "json",
withCredentials: ge.withCredentials
})
}
const Be = (0,
A.of)(Ve).pipe((0,
U.b)($e => this.handler.handle($e)));
if (x instanceof Z || "events" === ge.observe)
return Be;
const Fe = Be.pipe((0,
le.h)($e => $e instanceof _e));
switch (ge.observe || "body") {
case "body":
switch (Ve.responseType) {
case "arraybuffer":
return Fe.pipe((0,
J.U)($e => {
if (null !== $e.body && !($e.body instanceof ArrayBuffer))
throw new Error("Response is not an ArrayBuffer.");
return $e.body
}
));
case "blob":
return Fe.pipe((0,
J.U)($e => {
if (null !== $e.body && !($e.body instanceof Blob))
throw new Error("Response is not a Blob.");
return $e.body
}
));
case "text":
return Fe.pipe((0,
J.U)($e => {
if (null !== $e.body && "string" != typeof $e.body)
throw new Error("Response is not a string.");
return $e.body
}
));
default:
return Fe.pipe((0,
J.U)($e => $e.body))
}
case "response":
return Fe;
default:
throw new Error(`Unreachable: unhandled observe type ${ge.observe}}`)
}
}
delete(x, ie={}) {
return this.request("DELETE", x, ie)
}
get(x, ie={}) {
return this.request("GET", x, ie)
}
head(x, ie={}) {
return this.request("HEAD", x, ie)
}
jsonp(x, ie) {
return this.request("JSONP", x, {
params: (new Se).append(ie, "JSONP_CALLBACK"),
observe: "body",
responseType: "json"
})
}
options(x, ie={}) {
return this.request("OPTIONS", x, ie)
}
patch(x, ie, ge={}) {
return this.request("PATCH", x, Re(ge, ie))
}
post(x, ie, ge={}) {
return this.request("POST", x, Re(ge, ie))
}
put(x, ie, ge={}) {
return this.request("PUT", x, Re(ge, ie))
}
}
return se.\u0275fac = function(x) {
return new (x || se)(w.LFG(q))
}
,
se.\u0275prov = w.Yz7({
token: se,
factory: se.\u0275fac
}),
se
}
)();
class Ne {
constructor(S, x) {
this.next = S,
this.interceptor = x
}
handle(S) {
return this.interceptor.intercept(S, this.next)
}
}
const Le = new w.OlP("HTTP_INTERCEPTORS");
let W = ( () => {
class se {
intercept(x, ie) {
return ie.handle(x)
}
}
return se.\u0275fac = function(x) {
return new (x || se)
}
,
se.\u0275prov = w.Yz7({
token: se,
factory: se.\u0275fac
}),
se
}
)();
const ft = /^\)\]\}',?\n/;
let tt = ( () => {
class se {
constructor(x) {
this.xhrFactory = x
}
handle(x) {
if ("JSONP" === x.method)
throw new Error("Attempted to construct Jsonp request without HttpClientJsonpModule installed.");
return new G.y(ie => {
const ge = this.xhrFactory.build();
if (ge.open(x.method, x.urlWithParams),
x.withCredentials && (ge.withCredentials = !0),
x.headers.forEach( (xt, Et) => ge.setRequestHeader(xt, Et.join(","))),
x.headers.has("Accept") || ge.setRequestHeader("Accept", "application/json, text/plain, */*"),
!x.headers.has("Content-Type")) {
const xt = x.detectContentTypeHeader();
null !== xt && ge.setRequestHeader("Content-Type", xt)
}
if (x.responseType) {
const xt = x.responseType.toLowerCase();
ge.responseType = "json" !== xt ? xt : "text"
}
const Ve = x.serializeBody();
let Be = null;
const Fe = () => {
if (null !== Be)
return Be;
const xt = ge.statusText || "OK"
, Et = new R(ge.getAllResponseHeaders())
, Xt = function _t(se) {
return "responseURL"in se && se.responseURL ? se.responseURL : /^X-Request-URL:/m.test(se.getAllResponseHeaders()) ? se.getResponseHeader("X-Request-URL") : null
}(ge) || x.url;
return Be = new L({
headers: Et,
status: ge.status,
statusText: xt,
url: Xt
}),
Be
}
, $e = () => {
let {headers: xt, status: Et, statusText: Xt, url: ut} = Fe()
, kt = null;
204 !== Et && (kt = typeof ge.response > "u" ? ge.responseText : ge.response),
0 === Et && (Et = kt ? 200 : 0);
let Ln = Et >= 200 && Et < 300;
if ("json" === x.responseType && "string" == typeof kt) {
const kn = kt;
kt = kt.replace(ft, "");
try {
kt = "" !== kt ? JSON.parse(kt) : null
} catch (Pn) {
kt = kn,
Ln && (Ln = !1,
kt = {
error: Pn,
text: kt
})
}
}
Ln ? (ie.next(new _e({
body: kt,
headers: xt,
status: Et,
statusText: Xt,
url: ut || void 0
})),
ie.complete()) : ie.error(new N({
error: kt,
headers: xt,
status: Et,
statusText: Xt,
url: ut || void 0
}))
}
, st = xt => {
const {url: Et} = Fe()
, Xt = new N({
error: xt,
status: ge.status || 0,
statusText: ge.statusText || "Unknown Error",
url: Et || void 0
});
ie.error(Xt)
}
;
let lt = !1;
const Ht = xt => {
lt || (ie.next(Fe()),
lt = !0);
let Et = {
type: z.DownloadProgress,
loaded: xt.loaded
};
xt.lengthComputable && (Et.total = xt.total),
"text" === x.responseType && !!ge.responseText && (Et.partialText = ge.responseText),
ie.next(Et)
}
, Ke = xt => {
let Et = {
type: z.UploadProgress,
loaded: xt.loaded
};
xt.lengthComputable && (Et.total = xt.total),
ie.next(Et)
}
;
return ge.addEventListener("load", $e),
ge.addEventListener("error", st),
ge.addEventListener("timeout", st),
ge.addEventListener("abort", st),
x.reportProgress && (ge.addEventListener("progress", Ht),
null !== Ve && ge.upload && ge.upload.addEventListener("progress", Ke)),
ge.send(Ve),
ie.next({
type: z.Sent
}),
() => {
ge.removeEventListener("error", st),
ge.removeEventListener("abort", st),
ge.removeEventListener("load", $e),
ge.removeEventListener("timeout", st),
x.reportProgress && (ge.removeEventListener("progress", Ht),
null !== Ve && ge.upload && ge.upload.removeEventListener("progress", Ke)),
ge.readyState !== ge.DONE && ge.abort()
}
}
)
}
}
return se.\u0275fac = function(x) {
return new (x || se)(w.LFG(h.JF))
}
,
se.\u0275prov = w.Yz7({
token: se,
factory: se.\u0275fac
}),
se
}
)();
const it = new w.OlP("XSRF_COOKIE_NAME")
, Rt = new w.OlP("XSRF_HEADER_NAME");
class Ft {
}
let Nt = ( () => {
class se {
constructor(x, ie, ge) {
this.doc = x,
this.platform = ie,
this.cookieName = ge,
this.lastCookieString = "",
this.lastToken = null,
this.parseCount = 0
}
getToken() {
if ("server" === this.platform)
return null;
const x = this.doc.cookie || "";
return x !== this.lastCookieString && (this.parseCount++,
this.lastToken = (0,
h.Mx)(x, this.cookieName),
this.lastCookieString = x),
this.lastToken
}
}
return se.\u0275fac = function(x) {
return new (x || se)(w.LFG(h.K0),w.LFG(w.Lbi),w.LFG(it))
}
,
se.\u0275prov = w.Yz7({
token: se,
factory: se.\u0275fac
}),
se
}
)()
, jt = ( () => {
class se {
constructor(x, ie) {
this.tokenService = x,
this.headerName = ie
}
intercept(x, ie) {
const ge = x.url.toLowerCase();
if ("GET" === x.method || "HEAD" === x.method || ge.startsWith("http://") || ge.startsWith("https://"))
return ie.handle(x);
const Ve = this.tokenService.getToken();
return null !== Ve && !x.headers.has(this.headerName) && (x = x.clone({
headers: x.headers.set(this.headerName, Ve)
})),
ie.handle(x)
}
}
return se.\u0275fac = function(x) {
return new (x || se)(w.LFG(Ft),w.LFG(Rt))
}
,
se.\u0275prov = w.Yz7({
token: se,
factory: se.\u0275fac
}),
se
}
)()
, Lt = ( () => {
class se {
constructor(x, ie) {
this.backend = x,
this.injector = ie,
this.chain = null
}
handle(x) {
if (null === this.chain) {
const ie = this.injector.get(Le, []);
this.chain = ie.reduceRight( (ge, Ve) => new Ne(ge,Ve), this.backend)
}
return this.chain.handle(x)
}
}
return se.\u0275fac = function(x) {
return new (x || se)(w.LFG(te),w.LFG(w.zs3))
}
,
se.\u0275prov = w.Yz7({
token: se,
factory: se.\u0275fac
}),
se
}
)()
, mn = ( () => {
class se {
static disable() {
return {
ngModule: se,
providers: [{
provide: jt,
useClass: W
}]
}
}
static withOptions(x={}) {
return {
ngModule: se,
providers: [x.cookieName ? {
provide: it,
useValue: x.cookieName
} : [], x.headerName ? {
provide: Rt,
useValue: x.headerName
} : []]
}
}
}
return se.\u0275fac = function(x) {
return new (x || se)
}
,
se.\u0275mod = w.oAB({
type: se
}),
se.\u0275inj = w.cJS({
providers: [jt, {
provide: Le,
useExisting: jt,
multi: !0
}, {
provide: Ft,
useClass: Nt
}, {
provide: it,
useValue: "XSRF-TOKEN"
}, {
provide: Rt,
useValue: "X-XSRF-TOKEN"
}]
}),
se
}
)()
, At = ( () => {
class se {
}
return se.\u0275fac = function(x) {
return new (x || se)
}
,
se.\u0275mod = w.oAB({
type: se
}),
se.\u0275inj = w.cJS({
providers: [fe, {
provide: q,
useClass: Lt
}, tt, {
provide: te,
useExisting: tt
}],
imports: [mn.withOptions({
cookieName: "XSRF-TOKEN",
headerName: "X-XSRF-TOKEN"
})]
}),
se
}
)()
}
,
8256: (Oe, ae, D) => {
"use strict";
D.d(ae, {
tb: () => $g,
AFp: () => Bg,
ip1: () => Ug,
CZH: () => mc,
hGG: () => ME,
z2F: () => yc,
sBO: () => uE,
Sil: () => z_,
_Vd: () => $s,
EJc: () => $_,
Xts: () => su,
SBq: () => Vs,
lqb: () => Zo,
qLn: () => zs,
vpe: () => Br,
XFs: () => S,
OlP: () => St,
zs3: () => Jo,
ZZ4: () => Nl,
aQg: () => Ll,
soG: () => vc,
YKP: () => $p,
h0i: () => qi,
PXZ: () => rE,
R0b: () => rr,
FiY: () => Rs,
Lbi: () => B_,
g9A: () => Hg,
Qsj: () => oy,
FYo: () => af,
JOm: () => Nr,
q3G: () => qt,
tp0: () => Fs,
Rgc: () => ra,
dDg: () => X_,
eoX: () => Zg,
GfV: () => cf,
s_b: () => hc,
ifc: () => Ht,
MMx: () => ll,
Lck: () => LC,
eFA: () => qg,
G48: () => cE,
f3M: () => ed,
_c5: () => bE,
c2e: () => j_,
zSh: () => uu,
wAp: () => qe,
vHH: () => ve,
lri: () => Kg,
rWj: () => Yg,
EiD: () => Gd,
mCW: () => ja,
qzn: () => Oi,
JVY: () => wv,
pB0: () => Iv,
eBb: () => Mv,
L6k: () => bv,
LAX: () => Sv,
D6c: () => SE,
cg1: () => nl,
kL8: () => pp,
dqk: () => Ke,
Z0I: () => jt,
sIi: () => Ks,
CqO: () => _h,
QGY: () => Yu,
QP$: () => Ye,
F4k: () => Ch,
RDi: () => mv,
AaK: () => ne,
z3N: () => Qr,
TTD: () => Oo,
jDz: () => zp,
xp6: () => vf,
uIk: () => zu,
ekj: () => qu,
Suo: () => gg,
Xpm: () => Jn,
lG2: () => Y,
Yz7: () => it,
cJS: () => Ft,
oAB: () => or,
Yjl: () => $,
Y36: () => ki,
_UZ: () => Ku,
BQk: () => ic,
ynx: () => oc,
qZA: () => rc,
TgZ: () => nc,
EpF: () => Dh,
LFG: () => nn,
$8M: () => jo,
$Z: () => Af,
NdJ: () => Zu,
CRH: () => mg,
kcU: () => vo,
O4$: () => wi,
oxw: () => Sh,
ALo: () => ig,
lcZ: () => sg,
xi3: () => ag,
Q6J: () => Gu,
DdM: () => Qp,
VKq: () => qp,
WLB: () => Xp,
iGM: () => hg,
KtG: () => It,
evT: () => lf,
Jf7: () => uf,
CHM: () => No,
oJD: () => Wd,
LSH: () => iu,
Akn: () => Dr,
Udp: () => Qu,
YNc: () => vh,
_uU: () => Zh,
Oqu: () => el,
hij: () => ac,
AsE: () => tl,
Gf: () => pg
});
var h = D(7579)
, w = D(727)
, A = D(9751)
, G = D(8189)
, U = D(8421)
, le = D(515)
, J = D(3269)
, q = D(2076)
, R = D(930)
, X = D(4482);
function K(e, t, ...n) {
if (!0 === t)
return void e();
if (!1 === t)
return;
const r = new R.Hp({
next: () => {
r.unsubscribe(),
e()
}
});
return (0,
U.Xf)(t(...n)).subscribe(r)
}
function M(e) {
for (let t in e)
if (e[t] === M)
return t;
throw Error("Could not find renamed property on target object.")
}
function ne(e) {
if ("string" == typeof e)
return e;
if (Array.isArray(e))
return "[" + e.map(ne).join(", ") + "]";
if (null == e)
return "" + e;
if (e.overriddenName)
return `${e.overriddenName}`;
if (e.name)
return `${e.name}`;
const t = e.toString();
if (null == t)
return "" + t;
const n = t.indexOf("\n");
return -1 === n ? t : t.substring(0, n)
}
function Pe(e, t) {
return null == e || "" === e ? null === t ? "" : t : null == t || "" === t ? e : e + " " + t
}
const Se = M({
__forward_ref__: M
});
function xe(e) {
return e.__forward_ref__ = xe,
e.toString = function() {
return ne(this())
}
,
e
}
function oe(e) {
return function De(e) {
return "function" == typeof e && e.hasOwnProperty(Se) && e.__forward_ref__ === xe
}(e) ? e() : e
}
class ve extends Error {
constructor(t, n) {
super(function Q(e, t) {
return `NG0${Math.abs(e)}${t ? ": " + t.trim() : ""}`
}(t, n)),
this.code = t
}
}
function V(e) {
return "string" == typeof e ? e : null == e ? "" : String(e)
}
function _e(e, t) {
throw new ve(-201,!1)
}
function ht(e, t) {
null == e && function Ue(e, t, n, r) {
throw new Error(`ASSERTION ERROR: ${e}` + (null == r ? "" : ` [Expected=> ${n} ${r} ${t} <=Actual]`))
}(t, e, null, "!=")
}
function it(e) {
return {
token: e.token,
providedIn: e.providedIn || null,
factory: e.factory,
value: void 0
}
}
function Ft(e) {
return {
providers: e.providers || [],
imports: e.imports || []
}
}
function Nt(e) {
return Lt(e, At) || Lt(e, zt)
}
function jt(e) {
return null !== Nt(e)
}
function Lt(e, t) {
return e.hasOwnProperty(t) ? e[t] : null
}
function mn(e) {
return e && (e.hasOwnProperty(Qe) || e.hasOwnProperty(se)) ? e[Qe] : null
}
const At = M({
\u0275prov: M
})
, Qe = M({
\u0275inj: M
})
, zt = M({
ngInjectableDef: M
})
, se = M({
ngInjectorDef: M
});
var S = ( () => ((S = S || {})[S.Default = 0] = "Default",
S[S.Host = 1] = "Host",
S[S.Self = 2] = "Self",
S[S.SkipSelf = 4] = "SkipSelf",
S[S.Optional = 8] = "Optional",
S))();
let x;
function ge(e) {
const t = x;
return x = e,
t
}
function Ve(e, t, n) {
const r = Nt(e);
return r && "root" == r.providedIn ? void 0 === r.value ? r.value = r.factory() : r.value : n & S.Optional ? null : void 0 !== t ? t : void _e(ne(e))
}
function Fe(e) {
return {
toString: e
}.toString()
}
var $e = ( () => (($e = $e || {})[$e.OnPush = 0] = "OnPush",
$e[$e.Default = 1] = "Default",
$e))()
, Ht = ( () => {
return (e = Ht || (Ht = {}))[e.Emulated = 0] = "Emulated",
e[e.None = 2] = "None",
e[e.ShadowDom = 3] = "ShadowDom",
Ht;
var e
}
)();
const Ke = ( () => typeof globalThis < "u" && globalThis || typeof global < "u" && global || typeof window < "u" && window || typeof self < "u" && typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && self)()
, Xt = {}
, ut = []
, kt = M({
\u0275cmp: M
})
, Ln = M({
\u0275dir: M
})
, kn = M({
\u0275pipe: M
})
, Pn = M({
\u0275mod: M
})
, rn = M({
\u0275fac: M
})
, vn = M({
__NG_ELEMENT_ID__: M
});
let at = 0;
function Jn(e) {
return Fe( () => {
const n = !0 === e.standalone
, r = {}
, o = {
type: e.type,
providersResolver: null,
decls: e.decls,
vars: e.vars,
factory: null,
template: e.template || null,
consts: e.consts || null,
ngContentSelectors: e.ngContentSelectors,
hostBindings: e.hostBindings || null,
hostVars: e.hostVars || 0,
hostAttrs: e.hostAttrs || null,
contentQueries: e.contentQueries || null,
declaredInputs: r,
inputs: null,
outputs: null,
exportAs: e.exportAs || null,
onPush: e.changeDetection === $e.OnPush,
directiveDefs: null,
pipeDefs: null,
standalone: n,
dependencies: n && e.dependencies || null,
getStandaloneInjector: null,
selectors: e.selectors || ut,
viewQuery: e.viewQuery || null,
features: e.features || null,
data: e.data || {},
encapsulation: e.encapsulation || Ht.Emulated,
id: "c" + at++,
styles: e.styles || ut,
_: null,
setInput: null,
schemas: e.schemas || null,
tView: null
}
, i = e.dependencies
, s = e.features;
return o.inputs = ro(e.inputs, r),
o.outputs = ro(e.outputs),
s && s.forEach(l => l(o)),
o.directiveDefs = i ? () => ("function" == typeof i ? i() : i).map(Un).filter(jr) : null,
o.pipeDefs = i ? () => ("function" == typeof i ? i() : i).map(he).filter(jr) : null,
o
}
)
}
function Un(e) {
return b(e) || H(e)
}
function jr(e) {
return null !== e
}
function or(e) {
return Fe( () => ({
type: e.type,
bootstrap: e.bootstrap || ut,
declarations: e.declarations || ut,
imports: e.imports || ut,
exports: e.exports || ut,
transitiveCompileScopes: null,
schemas: e.schemas || null,
id: e.id || null
}))
}
function ro(e, t) {
if (null == e)
return Xt;
const n = {};
for (const r in e)
if (e.hasOwnProperty(r)) {
let o = e[r]
, i = o;
Array.isArray(o) && (i = o[1],
o = o[0]),
n[o] = r,
t && (t[o] = i)
}
return n
}
const Y = Jn;
function $(e) {
return {
type: e.type,
name: e.name,
factory: null,
pure: !1 !== e.pure,
standalone: !0 === e.standalone,
onDestroy: e.type.prototype.ngOnDestroy || null
}
}
function b(e) {
return e[kt] || null
}
function H(e) {
return e[Ln] || null
}
function he(e) {
return e[kn] || null
}
function Ye(e) {
const t = b(e) || H(e) || he(e);
return null !== t && t.standalone
}
function Je(e, t) {
const n = e[Pn] || null;
if (!n && !0 === t)
throw new Error(`Type ${ne(e)} does not have '\u0275mod' property.`);
return n
}
function Vt(e) {
return Array.isArray(e) && "object" == typeof e[1]
}
function In(e) {
return Array.isArray(e) && !0 === e[1]
}
function io(e) {
return 0 != (8 & e.flags)
}
function cn(e) {
return 2 == (2 & e.flags)
}
function Hr(e) {
return 1 == (1 & e.flags)
}
function Dn(e) {
return null !== e.template
}
function Hn(e) {
return 0 != (256 & e[2])
}
function Xn(e, t) {
return e.hasOwnProperty(rn) ? e[rn] : null
}
class Po {
constructor(t, n, r) {
this.previousValue = t,
this.currentValue = n,
this.firstChange = r
}
isFirstChange() {
return this.firstChange
}
}
function Oo() {
return $n
}
function $n(e) {
return e.type.prototype.ngOnChanges && (e.setInput = ga),
si
}
function si() {
const e = ai(this)
, t = e?.current;
if (t) {
const n = e.previous;
if (n === Xt)
e.previous = t;
else
for (let r in t)
n[r] = t[r];
e.current = null,
this.ngOnChanges(t)
}
}
function ga(e, t, n, r) {
const o = ai(e) || function ci(e, t) {
return e[uo] = t
}(e, {
previous: Xt,
current: null
})
, i = o.current || (o.current = {})
, s = o.previous
, l = this.declaredInputs[n]
, p = s[l];
i[l] = new Po(p && p.currentValue,t,s === Xt),
e[r] = t
}
Oo.ngInherit = !0;
const uo = "__ngSimpleChanges__";
function ai(e) {
return e[uo] || null
}
function Pt(e) {
for (; Array.isArray(e); )
e = e[0];
return e
}
function Vr(e, t) {
return Pt(t[e])
}
function dn(e, t) {
return Pt(t[e.index])
}
function Pr(e, t) {
return e.data[t]
}
function xn(e, t) {
return e[t]
}
function fn(e, t) {
const n = t[e];
return Vt(n) ? n : n[0]
}
function zr(e) {
return 64 == (64 & e[2])
}
function lr(e, t) {
return null == t ? null : e[t]
}
function us(e) {
e[18] = 0
}
function di(e, t) {
e[5] += t;
let n = e
, r = e[3];
for (; null !== r && (1 === t && 1 === n[5] || -1 === t && 0 === n[5]); )
r[5] += t,
n = r,
r = r[3]
}
const ot = {
lFrame: ms(null),
bindingsEnabled: !0
};
function hn() {
return ot.bindingsEnabled
}
function we() {
return ot.lFrame.lView
}
function pt() {
return ot.lFrame.tView
}
function No(e) {
return ot.lFrame.contextLView = e,
e[8]
}
function It(e) {
return ot.lFrame.contextLView = null,
e
}
function Wt() {
let e = fs();
for (; null !== e && 64 === e.type; )
e = e.parent;
return e
}
function fs() {
return ot.lFrame.currentTNode
}
function pn(e, t) {
const n = ot.lFrame;
n.currentTNode = e,
n.isParent = t
}
function pi() {
return ot.lFrame.isParent
}
function gi() {
ot.lFrame.isParent = !1
}
function tn() {
const e = ot.lFrame;
let t = e.bindingRootIndex;
return -1 === t && (t = e.bindingRootIndex = e.tView.bindingStartIndex),
t
}
function tr() {
return ot.lFrame.bindingIndex++
}
function Cn(e) {
const t = ot.lFrame
, n = t.bindingIndex;
return t.bindingIndex = t.bindingIndex + e,
n
}
function Wr(e, t) {
const n = ot.lFrame;
n.bindingIndex = n.bindingRootIndex = e,
vi(t)
}
function vi(e) {
ot.lFrame.currentDirectiveIndex = e
}
function Di() {
return ot.lFrame.currentQueryIndex
}
function go(e) {
ot.lFrame.currentQueryIndex = e
}
function ya(e) {
const t = e[1];
return 2 === t.type ? t.declTNode : 1 === t.type ? e[6] : null
}
function ps(e, t, n) {
if (n & S.SkipSelf) {
let o = t
, i = e;
for (; !(o = o.parent,
null !== o || n & S.Host || (o = ya(i),
null === o || (i = i[15],
10 & o.type))); )
;
if (null === o)
return !1;
t = o,
e = i
}
const r = ot.lFrame = gs();
return r.currentTNode = t,
r.lView = e,
!0
}
function Ci(e) {
const t = gs()
, n = e[1];
ot.lFrame = t,
t.currentTNode = n.firstChild,
t.lView = e,
t.tView = n,
t.contextLView = e,
t.bindingIndex = n.bindingStartIndex,
t.inI18n = !1
}
function gs() {
const e = ot.lFrame
, t = null === e ? null : e.child;
return null === t ? ms(e) : t
}
function ms(e) {
const t = {
currentTNode: null,
isParent: !0,
lView: null,
tView: null,
selectedIndex: -1,
contextLView: null,
elementDepthCount: 0,
currentNamespace: null,
currentDirectiveIndex: -1,
bindingRootIndex: -1,
bindingIndex: -1,
currentQueryIndex: 0,
parent: e,
child: null,
inI18n: !1
};
return null !== e && (e.child = t),
t
}
function _i() {
const e = ot.lFrame;
return ot.lFrame = e.parent,
e.currentTNode = null,
e.lView = null,
e
}
const vs = _i;
function mo() {
const e = _i();
e.isParent = !0,
e.tView = null,
e.selectedIndex = -1,
e.contextLView = null,
e.elementDepthCount = 0,
e.currentDirectiveIndex = -1,
e.currentNamespace = null,
e.bindingRootIndex = -1,
e.bindingIndex = -1,
e.currentQueryIndex = 0
}
function Kt() {
return ot.lFrame.selectedIndex
}
function fr(e) {
ot.lFrame.selectedIndex = e
}
function Ot() {
const e = ot.lFrame;
return Pr(e.tView, e.selectedIndex)
}
function wi() {
ot.lFrame.currentNamespace = "svg"
}
function vo() {
!function Ds() {
ot.lFrame.currentNamespace = null
}()
}
function Or(e, t) {
for (let n = t.directiveStart, r = t.directiveEnd; n < r; n++) {
const i = e.data[n].type.prototype
, {ngAfterContentInit: s, ngAfterContentChecked: l, ngAfterViewInit: p, ngAfterViewChecked: v, ngOnDestroy: E} = i;
s && (e.contentHooks || (e.contentHooks = [])).push(-n, s),
l && ((e.contentHooks || (e.contentHooks = [])).push(n, l),
(e.contentCheckHooks || (e.contentCheckHooks = [])).push(n, l)),
p && (e.viewHooks || (e.viewHooks = [])).push(-n, p),
v && ((e.viewHooks || (e.viewHooks = [])).push(n, v),
(e.viewCheckHooks || (e.viewCheckHooks = [])).push(n, v)),
null != E && (e.destroyHooks || (e.destroyHooks = [])).push(n, E)
}
}
function yo(e, t, n) {
_s(e, t, 3, n)
}
function hr(e, t, n, r) {
(3 & e[2]) === n && _s(e, t, n, r)
}
function Uo(e, t) {
let n = e[2];
(3 & n) === t && (n &= 2047,
n += 1,
e[2] = n)
}
function _s(e, t, n, r) {
const i = r ?? -1
, s = t.length - 1;
let l = 0;
for (let p = void 0 !== r ? 65535 & e[18] : 0; p < s; p++)
if ("number" == typeof t[p + 1]) {
if (l = t[p],
null != r && l >= r)
break
} else
t[p] < 0 && (e[18] += 65536),
(l < i || -1 == i) && (d(e, n, t, p),
e[18] = (4294901760 & e[18]) + p + 2),
p++
}
function d(e, t, n, r) {
const o = n[r] < 0
, i = n[r + 1]
, l = e[o ? -n[r] : n[r]];
if (o) {
if (e[2] >> 11 < e[18] >> 16 && (3 & e[2]) === t) {
e[2] += 2048;
try {
i.call(l)
} finally {}
}
} else
try {
i.call(l)
} finally {}
}
const y = -1;
class g {
constructor(t, n, r) {
this.factory = t,
this.resolving = !1,
this.canSeeViewProviders = n,
this.injectImpl = r
}
}
function dt(e, t, n) {
let r = 0;
for (; r < n.length; ) {
const o = n[r];
if ("number" == typeof o) {
if (0 !== o)
break;
r++;
const i = n[r++]
, s = n[r++]
, l = n[r++];
e.setAttribute(t, s, l, i)
} else {
const i = o
, s = n[++r];
bt(i) ? e.setProperty(t, i, s) : e.setAttribute(t, i, s),
r++
}
}
return r
}
function Ut(e) {
return 3 === e || 4 === e || 6 === e
}
function bt(e) {
return 64 === e.charCodeAt(0)
}
function Bt(e, t) {
if (null !== t && 0 !== t.length)
if (null === e || 0 === e.length)
e = t.slice();
else {
let n = -1;
for (let r = 0; r < t.length; r++) {
const o = t[r];
"number" == typeof o ? n = o : 0 === n || Gn(e, n, o, null, -1 === n || 2 === n ? t[++r] : null)
}
}
return e
}
function Gn(e, t, n, r, o) {
let i = 0
, s = e.length;
if (-1 === t)
s = -1;
else
for (; i < e.length; ) {
const l = e[i++];
if ("number" == typeof l) {
if (l === t) {
s = -1;
break
}
if (l > t) {
s = i - 1;
break
}
}
}
for (; i < e.length; ) {
const l = e[i];
if ("number" == typeof l)
break;
if (l === n) {
if (null === r)
return void (null !== o && (e[i + 1] = o));
if (r === e[i + 1])
return void (e[i + 2] = o)
}
i++,
null !== r && i++,
null !== o && i++
}
-1 !== s && (e.splice(s, 0, t),
i = s + 1),
e.splice(i++, 0, n),
null !== r && e.splice(i++, 0, r),
null !== o && e.splice(i++, 0, o)
}
function _n(e) {
return e !== y
}
function gn(e) {
return 32767 & e
}
function Kn(e, t) {
let n = function Wn(e) {
return e >> 16
}(e)
, r = t;
for (; n > 0; )
r = r[15],
n--;
return r
}
let Kr = !0;
function Yr(e) {
const t = Kr;
return Kr = e,
t
}
let Ea = 0;
const Rn = {};
function Do(e, t) {
const n = Es(e, t);
if (-1 !== n)
return n;
const r = t[1];
r.firstCreatePass && (e.injectorIndex = t.length,
ba(r.data, e),
ba(t, null),
ba(r.blueprint, null));
const o = bi(e, t)
, i = e.injectorIndex;
if (_n(o)) {
const s = gn(o)
, l = Kn(o, t)
, p = l[1].data;
for (let v = 0; v < 8; v++)
t[i + v] = l[s + v] | p[s + v]
}
return t[i + 8] = o,
i
}
function ba(e, t) {
e.push(0, 0, 0, 0, 0, 0, 0, 0, t)
}
function Es(e, t) {
return -1 === e.injectorIndex || e.parent && e.parent.injectorIndex === e.injectorIndex || null === t[e.injectorIndex + 8] ? -1 : e.injectorIndex
}
function bi(e, t) {
if (e.parent && -1 !== e.parent.injectorIndex)
return e.parent.injectorIndex;
let n = 0
, r = null
, o = t;
for (; null !== o; ) {
if (r = bs(o),
null === r)
return y;
if (n++,
o = o[15],
-1 !== r.injectorIndex)
return r.injectorIndex | n << 16
}
return y
}
function Mi(e, t, n) {
!function wa(e, t, n) {
let r;
"string" == typeof n ? r = n.charCodeAt(0) || 0 : n.hasOwnProperty(vn) && (r = n[vn]),
null == r && (r = n[vn] = Ea++);
const o = 255 & r;
t.data[e + (o >> 5)] |= 1 << o
}(e, t, n)
}
function Bo(e, t, n) {
if (n & S.Optional || void 0 !== e)
return e;
_e()
}
function ws(e, t, n, r) {
if (n & S.Optional && void 0 === r && (r = null),
0 == (n & (S.Self | S.Host))) {
const o = e[9]
, i = ge(void 0);
try {
return o ? o.get(t, r, n & S.Optional) : Ve(t, r, n & S.Optional)
} finally {
ge(i)
}
}
return Bo(r, 0, n)
}
function Si(e, t, n, r=S.Default, o) {
if (null !== e) {
if (1024 & t[2]) {
const s = function Ic(e, t, n, r, o) {
let i = e
, s = t;
for (; null !== i && null !== s && 1024 & s[2] && !(256 & s[2]); ) {
const l = Ii(i, s, n, r | S.Self, Rn);
if (l !== Rn)
return l;
let p = i.parent;
if (!p) {
const v = s[21];
if (v) {
const E = v.get(n, Rn, r);
if (E !== Rn)
return E
}
p = bs(s),
s = s[15]
}
i = p
}
return o
}(e, t, n, r, Rn);
if (s !== Rn)
return s
}
const i = Ii(e, t, n, r, Rn);
if (i !== Rn)
return i
}
return ws(t, n, r, o)
}
function Ii(e, t, n, r, o) {
const i = function Mc(e) {
if ("string" == typeof e)
return e.charCodeAt(0) || 0;
const t = e.hasOwnProperty(vn) ? e[vn] : void 0;
return "number" == typeof t ? t >= 0 ? 255 & t : Sc : t
}(n);
if ("function" == typeof i) {
if (!ps(t, e, r))
return r & S.Host ? Bo(o, 0, r) : ws(t, n, r, o);
try {
const s = i(r);
if (null != s || r & S.Optional)
return s;
_e()
} finally {
vs()
}
} else if ("number" == typeof i) {
let s = null
, l = Es(e, t)
, p = y
, v = r & S.Host ? t[16][6] : null;
for ((-1 === l || r & S.SkipSelf) && (p = -1 === l ? bi(e, t) : t[l + 8],
p !== y && Sa(r, !1) ? (s = t[1],
l = gn(p),
t = Kn(p, t)) : l = -1); -1 !== l; ) {
const E = t[1];
if (Ma(i, l, E.data)) {
const I = bc(l, t, n, s, r, v);
if (I !== Rn)
return I
}
p = t[l + 8],
p !== y && Sa(r, t[1].data[l + 8] === v) && Ma(i, l, t) ? (s = E,
l = gn(p),
t = Kn(p, t)) : l = -1
}
}
return o
}
function bc(e, t, n, r, o, i) {
const s = t[1]
, l = s.data[e + 8]
, E = xi(l, s, n, null == r ? cn(l) && Kr : r != s && 0 != (3 & l.type), o & S.Host && i === l);
return null !== E ? Rr(t, s, E, l) : Rn
}
function xi(e, t, n, r, o) {
const i = e.providerIndexes
, s = t.data
, l = 1048575 & i
, p = e.directiveStart
, E = i >> 20
, k = o ? l + E : e.directiveEnd;
for (let ee = r ? l : l + E; ee < k; ee++) {
const ye = s[ee];
if (ee < p && n === ye || ee >= p && ye.type === n)
return ee
}
if (o) {
const ee = s[p];
if (ee && Dn(ee) && ee.type === n)
return p
}
return null
}
function Rr(e, t, n, r) {
let o = e[n];
const i = t.data;
if (function _(e) {
return e instanceof g
}(o)) {
const s = o;
s.resolving && function z(e, t) {
const n = t ? `. Dependency path: ${t.join(" > ")} > ${e}` : "";
throw new ve(-200,`Circular dependency in DI detected for ${e}${n}`)
}(function Z(e) {
return "function" == typeof e ? e.name || e.toString() : "object" == typeof e && null != e && "function" == typeof e.type ? e.type.name || e.type.toString() : V(e)
}(i[n]));
const l = Yr(s.canSeeViewProviders);
s.resolving = !0;
const p = s.injectImpl ? ge(s.injectImpl) : null;
ps(e, r, S.Default);
try {
o = e[n] = s.factory(void 0, i, e, r),
t.firstCreatePass && n >= r.directiveStart && function ko(e, t, n) {
const {ngOnChanges: r, ngOnInit: o, ngDoCheck: i} = t.type.prototype;
if (r) {
const s = $n(t);
(n.preOrderHooks || (n.preOrderHooks = [])).push(e, s),
(n.preOrderCheckHooks || (n.preOrderCheckHooks = [])).push(e, s)
}
o && (n.preOrderHooks || (n.preOrderHooks = [])).push(0 - e, o),
i && ((n.preOrderHooks || (n.preOrderHooks = [])).push(e, i),
(n.preOrderCheckHooks || (n.preOrderCheckHooks = [])).push(e, i))
}(n, i[n], t)
} finally {
null !== p && ge(p),
Yr(l),
s.resolving = !1,
vs()
}
}
return o
}
function Ma(e, t, n) {
return !!(n[t + (e >> 5)] & 1 << e)
}
function Sa(e, t) {
return !(e & S.Self || e & S.Host && t)
}
class Co {
constructor(t, n) {
this._tNode = t,
this._lView = n
}
get(t, n, r) {
return Si(this._tNode, this._lView, t, r, n)
}
}
function Sc() {
return new Co(Wt(),we())
}
function bs(e) {
const t = e[1]
, n = t.type;
return 2 === n ? t.declTNode : 1 === n ? e[6] : null
}
function jo(e) {
return function wc(e, t) {
if ("class" === t)
return e.classes;
if ("style" === t)
return e.styles;
const n = e.attrs;
if (n) {
const r = n.length;
let o = 0;
for (; o < r; ) {
const i = n[o];
if (Ut(i))
break;
if (0 === i)
o += 2;
else if ("number" == typeof i)
for (o++; o < r && "string" == typeof n[o]; )
o++;
else {
if (i === t)
return n[o + 1];
o += 2
}
}
}
return null
}(Wt(), e)
}
const Zr = "__parameters__";
function Ho(e, t, n) {
return Fe( () => {
const r = function xa(e) {
return function(...n) {
if (e) {
const r = e(...n);
for (const o in r)
this[o] = r[o]
}
}
}(t);
function o(...i) {
if (this instanceof o)
return r.apply(this, i),
this;
const s = new o(...i);
return l.annotation = s,
l;
function l(p, v, E) {
const I = p.hasOwnProperty(Zr) ? p[Zr] : Object.defineProperty(p, Zr, {
value: []
})[Zr];
for (; I.length <= E; )
I.push(null);
return (I[E] = I[E] || []).push(s),
p
}
}
return n && (o.prototype = Object.create(n.prototype)),
o.prototype.ngMetadataName = e,
o.annotationCls = o,
o
}
)
}
class St {
constructor(t, n) {
this._desc = t,
this.ngMetadataName = "InjectionToken",
this.\u0275prov = void 0,
"number" == typeof n ? this.__NG_ELEMENT_ID__ = n : void 0 !== n && (this.\u0275prov = it({
token: this,
providedIn: n.providedIn || "root",
factory: n.factory
}))
}
get multi() {
return this
}
toString() {
return `InjectionToken ${this._desc}`
}
}
function ln(e, t) {
void 0 === t && (t = e);
for (let n = 0; n < e.length; n++) {
let r = e[n];
Array.isArray(r) ? (t === e && (t = e.slice(0, n)),
ln(r, t)) : t !== e && t.push(r)
}
return t
}
function Fr(e, t) {
e.forEach(n => Array.isArray(n) ? Fr(n, t) : t(n))
}
function Ts(e, t, n) {
t >= e.length ? e.push(n) : e.splice(t, 0, n)
}
function Ti(e, t) {
return t >= e.length - 1 ? e.pop() : e.splice(t, 1)[0]
}
function En(e, t, n) {
let r = zo(e, t);
return r >= 0 ? e[1 | r] = n : (r = ~r,
function Pc(e, t, n, r) {
let o = e.length;
if (o == t)
e.push(n, r);
else if (1 === o)
e.push(r, e[0]),
e[0] = n;
else {
for (o--,
e.push(e[o - 1], e[o]); o > t; )
e[o] = e[o - 2],
o--;
e[t] = n,
e[t + 1] = r
}
}(e, r, t, n)),
r
}
function As(e, t) {
const n = zo(e, t);
if (n >= 0)
return e[1 | n]
}
function zo(e, t) {
return function u(e, t, n) {
let r = 0
, o = e.length >> n;
for (; o !== r; ) {
const i = r + (o - r >> 1)
, s = e[i << n];
if (t === s)
return i << n;
s > t ? o = i : r = i + 1
}
return ~(o << n)
}(e, t, 1)
}
const je = {}
, Dt = "__NG_DI_FLAG__"
, sn = "ngTempTokenPath"
, Jr = /\n/gm
, Ps = "__source";
let mr;
function bo(e) {
const t = mr;
return mr = e,
t
}
function Dm(e, t=S.Default) {
if (void 0 === mr)
throw new ve(-203,!1);
return null === mr ? Ve(e, void 0, t) : mr.get(e, t & S.Optional ? null : void 0, t)
}
function nn(e, t=S.Default) {
return (function ie() {
return x
}() || Dm)(oe(e), t)
}
function ed(e, t=S.Default) {
return "number" != typeof t && (t = 0 | (t.optional && 8) | (t.host && 1) | (t.self && 2) | (t.skipSelf && 4)),
nn(e, t)
}
function Oc(e) {
const t = [];
for (let n = 0; n < e.length; n++) {
const r = oe(e[n]);
if (Array.isArray(r)) {
if (0 === r.length)
throw new ve(900,!1);
let o, i = S.Default;
for (let s = 0; s < r.length; s++) {
const l = r[s]
, p = Cm(l);
"number" == typeof p ? -1 === p ? o = l.token : i |= p : o = l
}
t.push(nn(o, i))
} else
t.push(nn(r))
}
return t
}
function Os(e, t) {
return e[Dt] = t,
e.prototype[Dt] = t,
e
}
function Cm(e) {
return e[Dt]
}
const Rs = Os(Ho("Optional"), 8)
, Fs = Os(Ho("SkipSelf"), 4);
var Nr = ( () => ((Nr = Nr || {})[Nr.Important = 1] = "Important",
Nr[Nr.DashCase = 2] = "DashCase",
Nr))();
const kc = new Map;
let Um = 0;
const Bc = "__ngContext__";
function wn(e, t) {
Vt(t) ? (e[Bc] = t[20],
function jm(e) {
kc.set(e[20], e)
}(t)) : e[Bc] = t
}
function Hc(e, t) {
return undefined(e, t)
}
function Us(e) {
const t = e[3];
return In(t) ? t[3] : t
}
function $c(e) {
return Cd(e[13])
}
function Vc(e) {
return Cd(e[4])
}
function Cd(e) {
for (; null !== e && !In(e); )
e = e[4];
return e
}
function Pi(e, t, n, r, o) {
if (null != r) {
let i, s = !1;
In(r) ? i = r : Vt(r) && (s = !0,
r = r[0]);
const l = Pt(r);
0 === e && null !== n ? null == o ? Sd(t, n, l) : Go(t, n, l, o || null, !0) : 1 === e && null !== n ? Go(t, n, l, o || null, !0) : 2 === e ? function Jc(e, t, n) {
const r = Na(e, t);
r && function cv(e, t, n, r) {
e.removeChild(t, n, r)
}(e, r, t, n)
}(t, l, s) : 3 === e && t.destroyNode(l),
null != i && function dv(e, t, n, r, o) {
const i = n[7];
i !== Pt(n) && Pi(t, e, r, i, o);
for (let l = 10; l < n.length; l++) {
const p = n[l];
Bs(p[1], p, e, t, r, i)
}
}(t, e, i, n, o)
}
}
function Gc(e, t, n) {
return e.createElement(t, n)
}
function Ed(e, t) {
const n = e[9]
, r = n.indexOf(t)
, o = t[3];
512 & t[2] && (t[2] &= -513,
di(o, -1)),
n.splice(r, 1)
}
function Wc(e, t) {
if (e.length <= 10)
return;
const n = 10 + t
, r = e[n];
if (r) {
const o = r[17];
null !== o && o !== e && Ed(o, r),
t > 0 && (e[n - 1][4] = r[4]);
const i = Ti(e, 10 + t);
!function ev(e, t) {
Bs(e, t, t[11], 2, null, null),
t[0] = null,
t[6] = null
}(r[1], r);
const s = i[19];
null !== s && s.detachView(i[1]),
r[3] = null,
r[4] = null,
r[2] &= -65
}
return r
}
function wd(e, t) {
if (!(128 & t[2])) {
const n = t[11];
n.destroyNode && Bs(e, t, n, 3, null, null),
function rv(e) {
let t = e[13];
if (!t)
return Kc(e[1], e);
for (; t; ) {
let n = null;
if (Vt(t))
n = t[13];
else {
const r = t[10];
r && (n = r)
}
if (!n) {
for (; t && !t[4] && t !== e; )
Vt(t) && Kc(t[1], t),
t = t[3];
null === t && (t = e),
Vt(t) && Kc(t[1], t),
n = t && t[4]
}
t = n
}
}(t)
}
}
function Kc(e, t) {
if (!(128 & t[2])) {
t[2] &= -65,
t[2] |= 128,
function av(e, t) {
let n;
if (null != e && null != (n = e.destroyHooks))
for (let r = 0; r < n.length; r += 2) {
const o = t[n[r]];
if (!(o instanceof g)) {
const i = n[r + 1];
if (Array.isArray(i))
for (let s = 0; s < i.length; s += 2) {
const l = o[i[s]]
, p = i[s + 1];
try {
p.call(l)
} finally {}
}
else
try {
i.call(o)
} finally {}
}
}
}(e, t),
function sv(e, t) {
const n = e.cleanup
, r = t[7];
let o = -1;
if (null !== n)
for (let i = 0; i < n.length - 1; i += 2)
if ("string" == typeof n[i]) {
const s = n[i + 1]
, l = "function" == typeof s ? s(t) : Pt(t[s])
, p = r[o = n[i + 2]]
, v = n[i + 3];
"boolean" == typeof v ? l.removeEventListener(n[i], p, v) : v >= 0 ? r[o = v]() : r[o = -v].unsubscribe(),
i += 2
} else {
const s = r[o = n[i + 1]];
n[i].call(s)
}
if (null !== r) {
for (let i = o + 1; i < r.length; i++)
(0,
r[i])();
t[7] = null
}
}(e, t),
1 === t[1].type && t[11].destroy();
const n = t[17];
if (null !== n && In(t[3])) {
n !== t[3] && Ed(n, t);
const r = t[19];
null !== r && r.detachView(e)
}
!function Hm(e) {
kc.delete(e[20])
}(t)
}
}
function bd(e, t, n) {
return function Md(e, t, n) {
let r = t;
for (; null !== r && 40 & r.type; )
r = (t = r).parent;
if (null === r)
return n[0];
if (2 & r.flags) {
const o = e.data[r.directiveStart].encapsulation;
if (o === Ht.None || o === Ht.Emulated)
return null
}
return dn(r, n)
}(e, t.parent, n)
}
function Go(e, t, n, r, o) {
e.insertBefore(t, n, r, o)
}
function Sd(e, t, n) {
e.appendChild(t, n)
}
function Id(e, t, n, r, o) {
null !== r ? Go(e, t, n, r, o) : Sd(e, t, n)
}
function Na(e, t) {
return e.parentNode(t)
}
let Ua, eu, Ba, Ad = function Td(e, t, n) {
return 40 & e.type ? dn(e, n) : null
};
function La(e, t, n, r) {
const o = bd(e, r, t)
, i = t[11]
, l = function xd(e, t, n) {
return Ad(e, t, n)
}(r.parent || t[6], r, t);
if (null != o)
if (Array.isArray(n))
for (let p = 0; p < n.length; p++)
Id(i, o, n[p], l, !1);
else
Id(i, o, n, l, !1)
}
function ka(e, t) {
if (null !== t) {
const n = t.type;
if (3 & n)
return dn(t, e);
if (4 & n)
return Zc(-1, e[t.index]);
if (8 & n) {
const r = t.child;
if (null !== r)
return ka(e, r);
{
const o = e[t.index];
return In(o) ? Zc(-1, o) : Pt(o)
}
}
if (32 & n)
return Hc(t, e)() || Pt(e[t.index]);
{
const r = Od(e, t);
return null !== r ? Array.isArray(r) ? r[0] : ka(Us(e[16]), r) : ka(e, t.next)
}
}
return null
}
function Od(e, t) {
return null !== t ? e[16][6].projection[t.projection] : null
}
function Zc(e, t) {
const n = 10 + e + 1;
if (n < t.length) {
const r = t[n]
, o = r[1].firstChild;
if (null !== o)
return ka(r, o)
}
return t[7]
}
function Qc(e, t, n, r, o, i, s) {
for (; null != n; ) {
const l = r[n.index]
, p = n.type;
if (s && 0 === t && (l && wn(Pt(l), r),
n.flags |= 4),
64 != (64 & n.flags))
if (8 & p)
Qc(e, t, n.child, r, o, i, !1),
Pi(t, e, o, l, i);
else if (32 & p) {
const v = Hc(n, r);
let E;
for (; E = v(); )
Pi(t, e, o, E, i);
Pi(t, e, o, l, i)
} else
16 & p ? Rd(e, t, r, n, o, i) : Pi(t, e, o, l, i);
n = s ? n.projectionNext : n.next
}
}
function Bs(e, t, n, r, o, i) {
Qc(n, r, e.firstChild, t, o, i, !1)
}
function Rd(e, t, n, r, o, i) {
const s = n[16]
, p = s[6].projection[r.projection];
if (Array.isArray(p))
for (let v = 0; v < p.length; v++)
Pi(t, e, o, p[v], i);
else
Qc(e, t, p, s[3], o, i, !0)
}
function Fd(e, t, n) {
e.setAttribute(t, "style", n)
}
function qc(e, t, n) {
"" === n ? e.removeAttribute(t, "class") : e.setAttribute(t, "class", n)
}
function Wo(e) {
return function Xc() {
if (void 0 === Ua && (Ua = null,
Ke.trustedTypes))
try {
Ua = Ke.trustedTypes.createPolicy("angular", {
createHTML: e => e,
createScript: e => e,
createScriptURL: e => e
})
} catch {}
return Ua
}()?.createHTML(e) || e
}
function mv(e) {
eu = e
}
function Ld(e) {
return function tu() {
if (void 0 === Ba && (Ba = null,
Ke.trustedTypes))
try {
Ba = Ke.trustedTypes.createPolicy("angular#unsafe-bypass", {
createHTML: e => e,
createScript: e => e,
createScriptURL: e => e
})
} catch {}
return Ba
}()?.createHTML(e) || e
}
class Ko {
constructor(t) {
this.changingThisBreaksApplicationSecurity = t
}
toString() {
return `SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`
}
}
class vv extends Ko {
getTypeName() {
return "HTML"
}
}
class yv extends Ko {
getTypeName() {
return "Style"
}
}
class Dv extends Ko {
getTypeName() {
return "Script"
}
}
class Cv extends Ko {
getTypeName() {
return "URL"
}
}
class _v extends Ko {
getTypeName() {
return "ResourceURL"
}
}
function Qr(e) {
return e instanceof Ko ? e.changingThisBreaksApplicationSecurity : e
}
function Oi(e, t) {
const n = function Ev(e) {
return e instanceof Ko && e.getTypeName() || null
}(e);
if (null != n && n !== t) {
if ("ResourceURL" === n && "URL" === t)
return !0;
throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)
}
return n === t
}
function wv(e) {
return new vv(e)
}
function bv(e) {
return new yv(e)
}
function Mv(e) {
return new Dv(e)
}
function Sv(e) {
return new Cv(e)
}
function Iv(e) {
return new _v(e)
}
class xv {
constructor(t) {
this.inertDocumentHelper = t
}
getInertBodyElement(t) {
t = "" + t;
try {
const n = (new window.DOMParser).parseFromString(Wo(t), "text/html").body;
return null === n ? this.inertDocumentHelper.getInertBodyElement(t) : (n.removeChild(n.firstChild),
n)
} catch {
return null
}
}
}
class Tv {
constructor(t) {
if (this.defaultDoc = t,
this.inertDocument = this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),
null == this.inertDocument.body) {
const n = this.inertDocument.createElement("html");
this.inertDocument.appendChild(n);
const r = this.inertDocument.createElement("body");
n.appendChild(r)
}
}
getInertBodyElement(t) {
const n = this.inertDocument.createElement("template");
if ("content"in n)
return n.innerHTML = Wo(t),
n;
const r = this.inertDocument.createElement("body");
return r.innerHTML = Wo(t),
this.defaultDoc.documentMode && this.stripCustomNsAttrs(r),
r
}
stripCustomNsAttrs(t) {
const n = t.attributes;
for (let o = n.length - 1; 0 < o; o--) {
const s = n.item(o).name;
("xmlns:ns1" === s || 0 === s.indexOf("ns1:")) && t.removeAttribute(s)
}
let r = t.firstChild;
for (; r; )
r.nodeType === Node.ELEMENT_NODE && this.stripCustomNsAttrs(r),
r = r.nextSibling
}
}
const Pv = /^(?:(?:https?|mailto|data|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi;
function ja(e) {
return (e = String(e)).match(Pv) ? e : "unsafe:" + e
}
function qr(e) {
const t = {};
for (const n of e.split(","))
t[n] = !0;
return t
}
function js(...e) {
const t = {};
for (const n of e)
for (const r in n)
n.hasOwnProperty(r) && (t[r] = !0);
return t
}
const jd = qr("area,br,col,hr,img,wbr")
, Hd = qr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr")
, $d = qr("rp,rt")
, nu = js(jd, js(Hd, qr("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")), js($d, qr("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")), js($d, Hd))
, ru = qr("background,cite,href,itemtype,longdesc,poster,src,xlink:href")
, Vd = js(ru, qr("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,srcset,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"), qr("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext"))
, Ov = qr("script,style,template");
class Rv {
constructor() {
this.sanitizedSomething = !1,
this.buf = []
}
sanitizeChildren(t) {
let n = t.firstChild
, r = !0;
for (; n; )
if (n.nodeType === Node.ELEMENT_NODE ? r = this.startElement(n) : n.nodeType === Node.TEXT_NODE ? this.chars(n.nodeValue) : this.sanitizedSomething = !0,
r && n.firstChild)
n = n.firstChild;
else
for (; n; ) {
n.nodeType === Node.ELEMENT_NODE && this.endElement(n);
let o = this.checkClobberedElement(n, n.nextSibling);
if (o) {
n = o;
break
}
n = this.checkClobberedElement(n, n.parentNode)
}
return this.buf.join("")
}
startElement(t) {
const n = t.nodeName.toLowerCase();
if (!nu.hasOwnProperty(n))
return this.sanitizedSomething = !0,
!Ov.hasOwnProperty(n);
this.buf.push("<"),
this.buf.push(n);
const r = t.attributes;
for (let o = 0; o < r.length; o++) {
const i = r.item(o)
, s = i.name
, l = s.toLowerCase();
if (!Vd.hasOwnProperty(l)) {
this.sanitizedSomething = !0;
continue
}
let p = i.value;
ru[l] && (p = ja(p)),
this.buf.push(" ", s, '="', zd(p), '"')
}
return this.buf.push(">"),
!0
}
endElement(t) {
const n = t.nodeName.toLowerCase();
nu.hasOwnProperty(n) && !jd.hasOwnProperty(n) && (this.buf.push(""),
this.buf.push(n),
this.buf.push(">"))
}
chars(t) {
this.buf.push(zd(t))
}
checkClobberedElement(t, n) {
if (n && (t.compareDocumentPosition(n) & Node.DOCUMENT_POSITION_CONTAINED_BY) === Node.DOCUMENT_POSITION_CONTAINED_BY)
throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);
return n
}
}
const Fv = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g
, Nv = /([^\#-~ |!])/g;
function zd(e) {
return e.replace(/&/g, "&").replace(Fv, function(t) {
return "" + (1024 * (t.charCodeAt(0) - 55296) + (t.charCodeAt(1) - 56320) + 65536) + ";"
}).replace(Nv, function(t) {
return "" + t.charCodeAt(0) + ";"
}).replace(//g, ">")
}
let Ha;
function Gd(e, t) {
let n = null;
try {
Ha = Ha || function Bd(e) {
const t = new Tv(e);
return function Av() {
try {
return !!(new window.DOMParser).parseFromString(Wo(""), "text/html")
} catch {
return !1
}
}() ? new xv(t) : t
}(e);
let r = t ? String(t) : "";
n = Ha.getInertBodyElement(r);
let o = 5
, i = r;
do {
if (0 === o)
throw new Error("Failed to sanitize html because the input is unstable");
o--,
r = i,
i = n.innerHTML,
n = Ha.getInertBodyElement(r)
} while (r !== i);
return Wo((new Rv).sanitizeChildren(ou(n) || n))
} finally {
if (n) {
const r = ou(n) || n;
for (; r.firstChild; )
r.removeChild(r.firstChild)
}
}
}
function ou(e) {
return "content"in e && function Lv(e) {
return e.nodeType === Node.ELEMENT_NODE && "TEMPLATE" === e.nodeName
}(e) ? e.content : null
}
var qt = ( () => ((qt = qt || {})[qt.NONE = 0] = "NONE",
qt[qt.HTML = 1] = "HTML",
qt[qt.STYLE = 2] = "STYLE",
qt[qt.SCRIPT = 3] = "SCRIPT",
qt[qt.URL = 4] = "URL",
qt[qt.RESOURCE_URL = 5] = "RESOURCE_URL",
qt))();
function Wd(e) {
const t = Hs();
return t ? Ld(t.sanitize(qt.HTML, e) || "") : Oi(e, "HTML") ? Ld(Qr(e)) : Gd(function Nd() {
return void 0 !== eu ? eu : typeof document < "u" ? document : void 0
}(), V(e))
}
function iu(e) {
const t = Hs();
return t ? t.sanitize(qt.URL, e) || "" : Oi(e, "URL") ? Qr(e) : ja(V(e))
}
function Hs() {
const e = we();
return e && e[12]
}
const su = new St("ENVIRONMENT_INITIALIZER")
, Yd = new St("INJECTOR",-1)
, Zd = new St("INJECTOR_DEF_TYPES");
class Jd {
get(t, n=je) {
if (n === je) {
const r = new Error(`NullInjectorError: No provider for ${ne(t)}!`);
throw r.name = "NullInjectorError",
r
}
return n
}
}
function Vv(...e) {
return {
\u0275providers: Qd(0, e)
}
}
function Qd(e, ...t) {
const n = []
, r = new Set;
let o;
return Fr(t, i => {
const s = i;
au(s, n, [], r) && (o || (o = []),
o.push(s))
}
),
void 0 !== o && qd(o, n),
n
}
function qd(e, t) {
for (let n = 0; n < e.length; n++) {
const {providers: o} = e[n];
Fr(o, i => {
t.push(i)
}
)
}
}
function au(e, t, n, r) {
if (!(e = oe(e)))
return !1;
let o = null
, i = mn(e);
const s = !i && b(e);
if (i || s) {
if (s && !s.standalone)
return !1;
o = e
} else {
const p = e.ngModule;
if (i = mn(p),
!i)
return !1;
o = p
}
const l = r.has(o);
if (s) {
if (l)
return !1;
if (r.add(o),
s.dependencies) {
const p = "function" == typeof s.dependencies ? s.dependencies() : s.dependencies;
for (const v of p)
au(v, t, n, r)
}
} else {
if (!i)
return !1;
{
if (null != i.imports && !l) {
let v;
r.add(o);
try {
Fr(i.imports, E => {
au(E, t, n, r) && (v || (v = []),
v.push(E))
}
)
} finally {}
void 0 !== v && qd(v, t)
}
if (!l) {
const v = Xn(o) || ( () => new o);
t.push({
provide: o,
useFactory: v,
deps: ut
}, {
provide: Zd,
useValue: o,
multi: !0
}, {
provide: su,
useValue: () => nn(o),
multi: !0
})
}
const p = i.providers;
null == p || l || Fr(p, E => {
t.push(E)
}
)
}
}
return o !== e && void 0 !== e.providers
}
const zv = M({
provide: String,
useValue: M
});
function cu(e) {
return null !== e && "object" == typeof e && zv in e
}
function Yo(e) {
return "function" == typeof e
}
const uu = new St("Set Injector scope.")
, $a = {}
, Wv = {};
let lu;
function Va() {
return void 0 === lu && (lu = new Jd),
lu
}
class Zo {
}
class tf extends Zo {
constructor(t, n, r, o) {
super(),
this.parent = n,
this.source = r,
this.scopes = o,
this.records = new Map,
this._ngOnDestroyHooks = new Set,
this._onDestroyHooks = [],
this._destroyed = !1,
fu(t, s => this.processProvider(s)),
this.records.set(Yd, Ri(void 0, this)),
o.has("environment") && this.records.set(Zo, Ri(void 0, this));
const i = this.records.get(uu);
null != i && "string" == typeof i.value && this.scopes.add(i.value),
this.injectorDefTypes = new Set(this.get(Zd.multi, ut, S.Self))
}
get destroyed() {
return this._destroyed
}
destroy() {
this.assertNotDestroyed(),
this._destroyed = !0;
try {
for (const t of this._ngOnDestroyHooks)
t.ngOnDestroy();
for (const t of this._onDestroyHooks)
t()
} finally {
this.records.clear(),
this._ngOnDestroyHooks.clear(),
this.injectorDefTypes.clear(),
this._onDestroyHooks.length = 0
}
}
onDestroy(t) {
this._onDestroyHooks.push(t)
}
runInContext(t) {
this.assertNotDestroyed();
const n = bo(this)
, r = ge(void 0);
try {
return t()
} finally {
bo(n),
ge(r)
}
}
get(t, n=je, r=S.Default) {
this.assertNotDestroyed();
const o = bo(this)
, i = ge(void 0);
try {
if (!(r & S.SkipSelf)) {
let l = this.records.get(t);
if (void 0 === l) {
const p = function Qv(e) {
return "function" == typeof e || "object" == typeof e && e instanceof St
}(t) && Nt(t);
l = p && this.injectableDefInScope(p) ? Ri(du(t), $a) : null,
this.records.set(t, l)
}
if (null != l)
return this.hydrate(t, l)
}
return (r & S.Self ? Va() : this.parent).get(t, n = r & S.Optional && n === je ? null : n)
} catch (s) {
if ("NullInjectorError" === s.name) {
if ((s[sn] = s[sn] || []).unshift(ne(t)),
o)
throw s;
return function _m(e, t, n, r) {
const o = e[sn];
throw t[Ps] && o.unshift(t[Ps]),
e.message = function Em(e, t, n, r=null) {
e = e && "\n" === e.charAt(0) && "\u0275" == e.charAt(1) ? e.slice(2) : e;
let o = ne(t);
if (Array.isArray(t))
o = t.map(ne).join(" -> ");
else if ("object" == typeof t) {
let i = [];
for (let s in t)
if (t.hasOwnProperty(s)) {
let l = t[s];
i.push(s + ":" + ("string" == typeof l ? JSON.stringify(l) : ne(l)))
}
o = `{${i.join(", ")}}`
}
return `${n}${r ? "(" + r + ")" : ""}[${o}]: ${e.replace(Jr, "\n ")}`
}("\n" + e.message, o, n, r),
e.ngTokenPath = o,
e[sn] = null,
e
}(s, t, "R3InjectorError", this.source)
}
throw s
} finally {
ge(i),
bo(o)
}
}
resolveInjectorInitializers() {
const t = bo(this)
, n = ge(void 0);
try {
const r = this.get(su.multi, ut, S.Self);
for (const o of r)
o()
} finally {
bo(t),
ge(n)
}
}
toString() {
const t = []
, n = this.records;
for (const r of n.keys())
t.push(ne(r));
return `R3Injector[${t.join(", ")}]`
}
assertNotDestroyed() {
if (this._destroyed)
throw new ve(205,!1)
}
processProvider(t) {
let n = Yo(t = oe(t)) ? t : oe(t && t.provide);
const r = function Yv(e) {
return cu(e) ? Ri(void 0, e.useValue) : Ri(function nf(e, t, n) {
let r;
if (Yo(e)) {
const o = oe(e);
return Xn(o) || du(o)
}
if (cu(e))
r = () => oe(e.useValue);
else if (function ef(e) {
return !(!e || !e.useFactory)
}(e))
r = () => e.useFactory(...Oc(e.deps || []));
else if (function Xd(e) {
return !(!e || !e.useExisting)
}(e))
r = () => nn(oe(e.useExisting));
else {
const o = oe(e && (e.useClass || e.provide));
if (!function Zv(e) {
return !!e.deps
}(e))
return Xn(o) || du(o);
r = () => new o(...Oc(e.deps))
}
return r
}(e), $a)
}(t);
if (Yo(t) || !0 !== t.multi)
this.records.get(n);
else {
let o = this.records.get(n);
o || (o = Ri(void 0, $a, !0),
o.factory = () => Oc(o.multi),
this.records.set(n, o)),
n = t,
o.multi.push(t)
}
this.records.set(n, r)
}
hydrate(t, n) {
return n.value === $a && (n.value = Wv,
n.value = n.factory()),
"object" == typeof n.value && n.value && function Jv(e) {
return null !== e && "object" == typeof e && "function" == typeof e.ngOnDestroy
}(n.value) && this._ngOnDestroyHooks.add(n.value),
n.value
}
injectableDefInScope(t) {
if (!t.providedIn)
return !1;
const n = oe(t.providedIn);
return "string" == typeof n ? "any" === n || this.scopes.has(n) : this.injectorDefTypes.has(n)
}
}
function du(e) {
const t = Nt(e)
, n = null !== t ? t.factory : Xn(e);
if (null !== n)
return n;
if (e instanceof St)
throw new ve(204,!1);
if (e instanceof Function)
return function Kv(e) {
const t = e.length;
if (t > 0)
throw function Vo(e, t) {
const n = [];
for (let r = 0; r < e; r++)
n.push(t);
return n
}(t, "?"),
new ve(204,!1);
const n = function Fn(e) {
const t = e && (e[At] || e[zt]);
if (t) {
const n = function Nn(e) {
if (e.hasOwnProperty("name"))
return e.name;
const t = ("" + e).match(/^function\s*([^\s(]+)/);
return null === t ? "" : t[1]
}(e);
return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),
t
}
return null
}(e);
return null !== n ? () => n.factory(e) : () => new e
}(e);
throw new ve(204,!1)
}
function Ri(e, t, n=!1) {
return {
factory: e,
value: t,
multi: n ? [] : void 0
}
}
function qv(e) {
return !!e.\u0275providers
}
function fu(e, t) {
for (const n of e)
Array.isArray(n) ? fu(n, t) : qv(n) ? fu(n.\u0275providers, t) : t(n)
}
class rf {
}
class ty {
resolveComponentFactory(t) {
throw function ey(e) {
const t = Error(`No component factory found for ${ne(e)}. Did you add it to @NgModule.entryComponents?`);
return t.ngComponent = e,
t
}(t)
}
}
let $s = ( () => {
class e {
}
return e.NULL = new ty,
e
}
)();
function ny() {
return Fi(Wt(), we())
}
function Fi(e, t) {
return new Vs(dn(e, t))
}
let Vs = ( () => {
class e {
constructor(n) {
this.nativeElement = n
}
}
return e.__NG_ELEMENT_ID__ = ny,
e
}
)();
function ry(e) {
return e instanceof Vs ? e.nativeElement : e
}
class af {
}
let oy = ( () => {
class e {
}
return e.__NG_ELEMENT_ID__ = () => function iy() {
const e = we()
, n = fn(Wt().index, e);
return (Vt(n) ? n : e)[11]
}(),
e
}
)()
, sy = ( () => {
class e {
}
return e.\u0275prov = it({
token: e,
providedIn: "root",
factory: () => null
}),
e
}
)();
class cf {
constructor(t) {
this.full = t,
this.major = t.split(".")[0],
this.minor = t.split(".")[1],
this.patch = t.split(".").slice(2).join(".")
}
}
const ay = new cf("14.3.0")
, hu = {};
function gu(e) {
return e.ngOriginalError
}
class zs {
constructor() {
this._console = console
}
handleError(t) {
const n = this._findOriginalError(t);
this._console.error("ERROR", t),
n && this._console.error("ORIGINAL ERROR", n)
}
_findOriginalError(t) {
let n = t && gu(t);
for (; n && gu(n); )
n = gu(n);
return n || null
}
}
function uf(e) {
return e.ownerDocument.defaultView
}
function lf(e) {
return e.ownerDocument
}
function Xr(e) {
return e instanceof Function ? e() : e
}
function ff(e, t, n) {
let r = e.length;
for (; ; ) {
const o = e.indexOf(t, n);
if (-1 === o)
return o;
if (0 === o || e.charCodeAt(o - 1) <= 32) {
const i = t.length;
if (o + i === r || e.charCodeAt(o + i) <= 32)
return o
}
n = o + 1
}
}
const hf = "ng-template";
function my(e, t, n) {
let r = 0;
for (; r < e.length; ) {
let o = e[r++];
if (n && "class" === o) {
if (o = e[r],
-1 !== ff(o.toLowerCase(), t, 0))
return !0
} else if (1 === o) {
for (; r < e.length && "string" == typeof (o = e[r++]); )
if (o.toLowerCase() === t)
return !0;
return !1
}
}
return !1
}
function pf(e) {
return 4 === e.type && e.value !== hf
}
function vy(e, t, n) {
return t === (4 !== e.type || n ? e.value : hf)
}
function yy(e, t, n) {
let r = 4;
const o = e.attrs || []
, i = function _y(e) {
for (let t = 0; t < e.length; t++)
if (Ut(e[t]))
return t;
return e.length
}(o);
let s = !1;
for (let l = 0; l < t.length; l++) {
const p = t[l];
if ("number" != typeof p) {
if (!s)
if (4 & r) {
if (r = 2 | 1 & r,
"" !== p && !vy(e, p, n) || "" === p && 1 === t.length) {
if (vr(r))
return !1;
s = !0
}
} else {
const v = 8 & r ? p : t[++l];
if (8 & r && null !== e.attrs) {
if (!my(e.attrs, v, n)) {
if (vr(r))
return !1;
s = !0
}
continue
}
const I = Dy(8 & r ? "class" : p, o, pf(e), n);
if (-1 === I) {
if (vr(r))
return !1;
s = !0;
continue
}
if ("" !== v) {
let k;
k = I > i ? "" : o[I + 1].toLowerCase();
const ee = 8 & r ? k : null;
if (ee && -1 !== ff(ee, v, 0) || 2 & r && v !== k) {
if (vr(r))
return !1;
s = !0
}
}
}
} else {
if (!s && !vr(r) && !vr(p))
return !1;
if (s && vr(p))
continue;
s = !1,
r = p | 1 & r
}
}
return vr(r) || s
}
function vr(e) {
return 0 == (1 & e)
}
function Dy(e, t, n, r) {
if (null === t)
return -1;
let o = 0;
if (r || !n) {
let i = !1;
for (; o < t.length; ) {
const s = t[o];
if (s === e)
return o;
if (3 === s || 6 === s)
i = !0;
else {
if (1 === s || 2 === s) {
let l = t[++o];
for (; "string" == typeof l; )
l = t[++o];
continue
}
if (4 === s)
break;
if (0 === s) {
o += 4;
continue
}
}
o += i ? 1 : 2
}
return -1
}
return function Ey(e, t) {
let n = e.indexOf(4);
if (n > -1)
for (n++; n < e.length; ) {
const r = e[n];
if ("number" == typeof r)
return -1;
if (r === t)
return n;
n++
}
return -1
}(t, e)
}
function gf(e, t, n=!1) {
for (let r = 0; r < t.length; r++)
if (yy(e, t[r], n))
return !0;
return !1
}
function mf(e, t) {
return e ? ":not(" + t.trim() + ")" : t
}
function by(e) {
let t = e[0]
, n = 1
, r = 2
, o = ""
, i = !1;
for (; n < e.length; ) {
let s = e[n];
if ("string" == typeof s)
if (2 & r) {
const l = e[++n];
o += "[" + s + (l.length > 0 ? '="' + l + '"' : "") + "]"
} else
8 & r ? o += "." + s : 4 & r && (o += " " + s);
else
"" !== o && !vr(s) && (t += mf(i, o),
o = ""),
r = s,
i = i || !vr(r);
n++
}
return "" !== o && (t += mf(i, o)),
t
}
const ct = {};
function vf(e) {
yf(pt(), we(), Kt() + e, !1)
}
function yf(e, t, n, r) {
if (!r)
if (3 == (3 & t[2])) {
const i = e.preOrderCheckHooks;
null !== i && yo(t, i, n)
} else {
const i = e.preOrderHooks;
null !== i && hr(t, i, 0, n)
}
fr(n)
}
function Ef(e, t=null, n=null, r) {
const o = wf(e, t, n, r);
return o.resolveInjectorInitializers(),
o
}
function wf(e, t=null, n=null, r, o=new Set) {
const i = [n || ut, Vv(e)];
return r = r || ("object" == typeof e ? void 0 : ne(e)),
new tf(i,t || Va(),r || null,o)
}
let Jo = ( () => {
class e {
static create(n, r) {
if (Array.isArray(n))
return Ef({
name: ""
}, r, n, "");
{
const o = n.name ?? "";
return Ef({
name: o
}, n.parent, n.providers, o)
}
}
}
return e.THROW_IF_NOT_FOUND = je,
e.NULL = new Jd,
e.\u0275prov = it({
token: e,
providedIn: "any",
factory: () => nn(Yd)
}),
e.__NG_ELEMENT_ID__ = -1,
e
}
)();
function ki(e, t=S.Default) {
const n = we();
return null === n ? nn(e, t) : Si(Wt(), n, oe(e), t)
}
function Af() {
throw new Error("invalid")
}
function Ga(e, t) {
return e << 17 | t << 2
}
function yr(e) {
return e >> 17 & 32767
}
function Cu(e) {
return 2 | e
}
function eo(e) {
return (131068 & e) >> 2
}
function _u(e, t) {
return -131069 & e | t << 2
}
function Eu(e) {
return 1 | e
}
function Hf(e, t) {
const n = e.contentQueries;
if (null !== n)
for (let r = 0; r < n.length; r += 2) {
const o = n[r]
, i = n[r + 1];
if (-1 !== i) {
const s = e.data[i];
go(o),
s.contentQueries(2, t[i], i)
}
}
}
function Ya(e, t, n, r, o, i, s, l, p, v, E) {
const I = t.blueprint.slice();
return I[0] = o,
I[2] = 76 | r,
(null !== E || e && 1024 & e[2]) && (I[2] |= 1024),
us(I),
I[3] = I[15] = e,
I[8] = n,
I[10] = s || e && e[10],
I[11] = l || e && e[11],
I[12] = p || e && e[12] || null,
I[9] = v || e && e[9] || null,
I[6] = i,
I[20] = function Bm() {
return Um++
}(),
I[21] = E,
I[16] = 2 == t.type ? e[16] : I,
I
}
function Ui(e, t, n, r, o) {
let i = e.data[t];
if (null === i)
i = function Au(e, t, n, r, o) {
const i = fs()
, s = pi()
, p = e.data[t] = function a0(e, t, n, r, o, i) {
return {
type: n,
index: r,
insertBeforeIndex: null,
injectorIndex: t ? t.injectorIndex : -1,
directiveStart: -1,
directiveEnd: -1,
directiveStylingLast: -1,
propertyBindings: null,
flags: 0,
providerIndexes: 0,
value: o,
attrs: i,
mergedAttrs: null,
localNames: null,
initialInputs: void 0,
inputs: null,
outputs: null,
tViews: null,
next: null,
projectionNext: null,
child: null,
parent: t,
projection: null,
styles: null,
stylesWithoutHost: null,
residualStyles: void 0,
classes: null,
classesWithoutHost: null,
residualClasses: void 0,
classBindings: 0,
styleBindings: 0
}
}(0, s ? i : i && i.parent, n, t, r, o);
return null === e.firstChild && (e.firstChild = p),
null !== i && (s ? null == i.child && null !== p.parent && (i.child = p) : null === i.next && (i.next = p)),
p
}(e, t, n, r, o),
function va() {
return ot.lFrame.inI18n
}() && (i.flags |= 64);
else if (64 & i.type) {
i.type = n,
i.value = r,
i.attrs = o;
const s = function Vn() {
const e = ot.lFrame
, t = e.currentTNode;
return e.isParent ? t : t.parent
}();
i.injectorIndex = null === s ? -1 : s.injectorIndex
}
return pn(i, !0),
i
}
function Bi(e, t, n, r) {
if (0 === n)
return -1;
const o = t.length;
for (let i = 0; i < n; i++)
t.push(r),
e.blueprint.push(r),
e.data.push(null);
return o
}
function Pu(e, t, n) {
Ci(t);
try {
const r = e.viewQuery;
null !== r && Bu(1, r, n);
const o = e.template;
null !== o && $f(e, t, o, 1, n),
e.firstCreatePass && (e.firstCreatePass = !1),
e.staticContentQueries && Hf(e, t),
e.staticViewQueries && Bu(2, e.viewQuery, n);
const i = e.components;
null !== i && function r0(e, t) {
for (let n = 0; n < t.length; n++)
w0(e, t[n])
}(t, i)
} catch (r) {
throw e.firstCreatePass && (e.incompleteFirstPass = !0,
e.firstCreatePass = !1),
r
} finally {
t[2] &= -5,
mo()
}
}
function Za(e, t, n, r) {
const o = t[2];
if (128 != (128 & o)) {
Ci(t);
try {
us(t),
function mi(e) {
return ot.lFrame.bindingIndex = e
}(e.bindingStartIndex),
null !== n && $f(e, t, n, 2, r);
const s = 3 == (3 & o);
if (s) {
const v = e.preOrderCheckHooks;
null !== v && yo(t, v, null)
} else {
const v = e.preOrderHooks;
null !== v && hr(t, v, 0, null),
Uo(t, 0)
}
if (function _0(e) {
for (let t = $c(e); null !== t; t = Vc(t)) {
if (!t[2])
continue;
const n = t[9];
for (let r = 0; r < n.length; r++) {
const o = n[r]
, i = o[3];
0 == (512 & o[2]) && di(i, 1),
o[2] |= 512
}
}
}(t),
function C0(e) {
for (let t = $c(e); null !== t; t = Vc(t))
for (let n = 10; n < t.length; n++) {
const r = t[n]
, o = r[1];
zr(r) && Za(o, r, o.template, r[8])
}
}(t),
null !== e.contentQueries && Hf(e, t),
s) {
const v = e.contentCheckHooks;
null !== v && yo(t, v)
} else {
const v = e.contentHooks;
null !== v && hr(t, v, 1),
Uo(t, 1)
}
!function t0(e, t) {
const n = e.hostBindingOpCodes;
if (null !== n)
try {
for (let r = 0; r < n.length; r++) {
const o = n[r];
if (o < 0)
fr(~o);
else {
const i = o
, s = n[++r]
, l = n[++r];
Wr(s, i),
l(2, t[i])
}
}
} finally {
fr(-1)
}
}(e, t);
const l = e.components;
null !== l && function n0(e, t) {
for (let n = 0; n < t.length; n++)
E0(e, t[n])
}(t, l);
const p = e.viewQuery;
if (null !== p && Bu(2, p, r),
s) {
const v = e.viewCheckHooks;
null !== v && yo(t, v)
} else {
const v = e.viewHooks;
null !== v && hr(t, v, 2),
Uo(t, 2)
}
!0 === e.firstUpdatePass && (e.firstUpdatePass = !1),
t[2] &= -41,
512 & t[2] && (t[2] &= -513,
di(t[3], -1))
} finally {
mo()
}
}
}
function $f(e, t, n, r, o) {
const i = Kt()
, s = 2 & r;
try {
fr(-1),
s && t.length > 22 && yf(e, t, 22, !1),
n(r, o)
} finally {
fr(i)
}
}
function Vf(e, t, n) {
if (io(t)) {
const o = t.directiveEnd;
for (let i = t.directiveStart; i < o; i++) {
const s = e.data[i];
s.contentQueries && s.contentQueries(1, n[i], i)
}
}
}
function Ou(e, t, n) {
!hn() || (function f0(e, t, n, r) {
const o = n.directiveStart
, i = n.directiveEnd;
e.firstCreatePass || Do(n, t),
wn(r, t);
const s = n.initialInputs;
for (let l = o; l < i; l++) {
const p = e.data[l]
, v = Dn(p);
v && v0(t, n, p);
const E = Rr(t, e, l, n);
wn(E, t),
null !== s && y0(0, l - o, E, p, 0, s),
v && (fn(n.index, t)[8] = E)
}
}(e, t, n, dn(n, t)),
128 == (128 & n.flags) && function h0(e, t, n) {
const r = n.directiveStart
, o = n.directiveEnd
, i = n.index
, s = function dr() {
return ot.lFrame.currentDirectiveIndex
}();
try {
fr(i);
for (let l = r; l < o; l++) {
const p = e.data[l]
, v = t[l];
vi(l),
(null !== p.hostBindings || 0 !== p.hostVars || null !== p.hostAttrs) && Jf(p, v)
}
} finally {
fr(-1),
vi(s)
}
}(e, t, n))
}
function Ru(e, t, n=dn) {
const r = t.localNames;
if (null !== r) {
let o = t.index + 1;
for (let i = 0; i < r.length; i += 2) {
const s = r[i + 1]
, l = -1 === s ? n(t, e) : e[s];
e[o++] = l
}
}
}
function zf(e) {
const t = e.tView;
return null === t || t.incompleteFirstPass ? e.tView = Fu(1, null, e.template, e.decls, e.vars, e.directiveDefs, e.pipeDefs, e.viewQuery, e.schemas, e.consts) : t
}
function Fu(e, t, n, r, o, i, s, l, p, v) {
const E = 22 + r
, I = E + o
, k = function o0(e, t) {
const n = [];
for (let r = 0; r < t; r++)
n.push(r < e ? null : ct);
return n
}(E, I)
, ee = "function" == typeof v ? v() : v;
return k[1] = {
type: e,
blueprint: k,
template: n,
queries: null,
viewQuery: l,
declTNode: t,
data: k.slice().fill(null, E),
bindingStartIndex: E,
expandoStartIndex: I,
hostBindingOpCodes: null,
firstCreatePass: !0,
firstUpdatePass: !0,
staticViewQueries: !1,
staticContentQueries: !1,
preOrderHooks: null,
preOrderCheckHooks: null,
contentHooks: null,
contentCheckHooks: null,
viewHooks: null,
viewCheckHooks: null,
destroyHooks: null,
cleanup: null,
contentQueries: null,
components: null,
directiveRegistry: "function" == typeof i ? i() : i,
pipeRegistry: "function" == typeof s ? s() : s,
firstChild: null,
schemas: p,
consts: ee,
incompleteFirstPass: !1
}
}
function Gf(e, t, n, r) {
const o = th(t);
null === n ? o.push(r) : (o.push(n),
e.firstCreatePass && nh(e).push(r, o.length - 1))
}
function Wf(e, t, n) {
for (let r in e)
if (e.hasOwnProperty(r)) {
const o = e[r];
(n = null === n ? {} : n).hasOwnProperty(r) ? n[r].push(t, o) : n[r] = [t, o]
}
return n
}
function Kf(e, t) {
const r = t.directiveEnd
, o = e.data
, i = t.attrs
, s = [];
let l = null
, p = null;
for (let v = t.directiveStart; v < r; v++) {
const E = o[v]
, I = E.inputs
, k = null === i || pf(t) ? null : D0(I, i);
s.push(k),
l = Wf(I, v, l),
p = Wf(E.outputs, v, p)
}
null !== l && (l.hasOwnProperty("class") && (t.flags |= 16),
l.hasOwnProperty("style") && (t.flags |= 32)),
t.initialInputs = s,
t.inputs = l,
t.outputs = p
}
function Yf(e, t) {
const n = fn(t, e);
16 & n[2] || (n[2] |= 32)
}
function Nu(e, t, n, r) {
let o = !1;
if (hn()) {
const i = function p0(e, t, n) {
const r = e.directiveRegistry;
let o = null;
if (r)
for (let i = 0; i < r.length; i++) {
const s = r[i];
gf(n, s.selectors, !1) && (o || (o = []),
Mi(Do(n, t), e, s.type),
Dn(s) ? (Qf(e, n),
o.unshift(s)) : o.push(s))
}
return o
}(e, t, n)
, s = null === r ? null : {
"": -1
};
if (null !== i) {
o = !0,
qf(n, e.data.length, i.length);
for (let E = 0; E < i.length; E++) {
const I = i[E];
I.providersResolver && I.providersResolver(I)
}
let l = !1
, p = !1
, v = Bi(e, t, i.length, null);
for (let E = 0; E < i.length; E++) {
const I = i[E];
n.mergedAttrs = Bt(n.mergedAttrs, I.hostAttrs),
Xf(e, n, t, v, I),
m0(v, I, s),
null !== I.contentQueries && (n.flags |= 8),
(null !== I.hostBindings || null !== I.hostAttrs || 0 !== I.hostVars) && (n.flags |= 128);
const k = I.type.prototype;
!l && (k.ngOnChanges || k.ngOnInit || k.ngDoCheck) && ((e.preOrderHooks || (e.preOrderHooks = [])).push(n.index),
l = !0),
!p && (k.ngOnChanges || k.ngDoCheck) && ((e.preOrderCheckHooks || (e.preOrderCheckHooks = [])).push(n.index),
p = !0),
v++
}
Kf(e, n)
}
s && function g0(e, t, n) {
if (t) {
const r = e.localNames = [];
for (let o = 0; o < t.length; o += 2) {
const i = n[t[o + 1]];
if (null == i)
throw new ve(-301,!1);
r.push(t[o], i)
}
}
}(n, r, s)
}
return n.mergedAttrs = Bt(n.mergedAttrs, n.attrs),
o
}
function Zf(e, t, n, r, o, i) {
const s = i.hostBindings;
if (s) {
let l = e.hostBindingOpCodes;
null === l && (l = e.hostBindingOpCodes = []);
const p = ~t.index;
(function d0(e) {
let t = e.length;
for (; t > 0; ) {
const n = e[--t];
if ("number" == typeof n && n < 0)
return n
}
return 0
}
)(l) != p && l.push(p),
l.push(r, o, s)
}
}
function Jf(e, t) {
null !== e.hostBindings && e.hostBindings(1, t)
}
function Qf(e, t) {
t.flags |= 2,
(e.components || (e.components = [])).push(t.index)
}
function m0(e, t, n) {
if (n) {
if (t.exportAs)
for (let r = 0; r < t.exportAs.length; r++)
n[t.exportAs[r]] = e;
Dn(t) && (n[""] = e)
}
}
function qf(e, t, n) {
e.flags |= 1,
e.directiveStart = t,
e.directiveEnd = t + n,
e.providerIndexes = t
}
function Xf(e, t, n, r, o) {
e.data[r] = o;
const i = o.factory || (o.factory = Xn(o.type))
, s = new g(i,Dn(o),ki);
e.blueprint[r] = s,
n[r] = s,
Zf(e, t, 0, r, Bi(e, n, o.hostVars, ct), o)
}
function v0(e, t, n) {
const r = dn(t, e)
, o = zf(n)
, i = e[10]
, s = Ja(e, Ya(e, o, null, n.onPush ? 32 : 16, r, t, i, i.createRenderer(r, n), null, null, null));
e[t.index] = s
}
function Lr(e, t, n, r, o, i) {
const s = dn(e, t);
!function Lu(e, t, n, r, o, i, s) {
if (null == i)
e.removeAttribute(t, o, n);
else {
const l = null == s ? V(i) : s(i, r || "", o);
e.setAttribute(t, o, l, n)
}
}(t[11], s, i, e.value, n, r, o)
}
function y0(e, t, n, r, o, i) {
const s = i[t];
if (null !== s) {
const l = r.setInput;
for (let p = 0; p < s.length; ) {
const v = s[p++]
, E = s[p++]
, I = s[p++];
null !== l ? r.setInput(n, I, v, E) : n[E] = I
}
}
}
function D0(e, t) {
let n = null
, r = 0;
for (; r < t.length; ) {
const o = t[r];
if (0 !== o)
if (5 !== o) {
if ("number" == typeof o)
break;
e.hasOwnProperty(o) && (null === n && (n = []),
n.push(o, e[o], t[r + 1])),
r += 2
} else
r += 2;
else
r += 4
}
return n
}
function eh(e, t, n, r) {
return new Array(e,!0,!1,t,null,0,r,n,null,null)
}
function E0(e, t) {
const n = fn(t, e);
if (zr(n)) {
const r = n[1];
48 & n[2] ? Za(r, n, r.template, n[8]) : n[5] > 0 && ku(n)
}
}
function ku(e) {
for (let r = $c(e); null !== r; r = Vc(r))
for (let o = 10; o < r.length; o++) {
const i = r[o];
if (zr(i))
if (512 & i[2]) {
const s = i[1];
Za(s, i, s.template, i[8])
} else
i[5] > 0 && ku(i)
}
const n = e[1].components;
if (null !== n)
for (let r = 0; r < n.length; r++) {
const o = fn(n[r], e);
zr(o) && o[5] > 0 && ku(o)
}
}
function w0(e, t) {
const n = fn(t, e)
, r = n[1];
(function b0(e, t) {
for (let n = t.length; n < e.blueprint.length; n++)
t.push(e.blueprint[n])
}
)(r, n),
Pu(r, n, n[8])
}
function Ja(e, t) {
return e[13] ? e[14][4] = t : e[13] = t,
e[14] = t,
t
}
function Uu(e) {
for (; e; ) {
e[2] |= 32;
const t = Us(e);
if (Hn(e) && !t)
return e;
e = t
}
return null
}
function Qa(e, t, n, r=!0) {
const o = t[10];
o.begin && o.begin();
try {
Za(e, t, e.template, n)
} catch (s) {
throw r && oh(t, s),
s
} finally {
o.end && o.end()
}
}
function Bu(e, t, n) {
go(0),
t(e, n)
}
function th(e) {
return e[7] || (e[7] = [])
}
function nh(e) {
return e.cleanup || (e.cleanup = [])
}
function oh(e, t) {
const n = e[9]
, r = n ? n.get(zs, null) : null;
r && r.handleError(t)
}
function ju(e, t, n, r, o) {
for (let i = 0; i < n.length; ) {
const s = n[i++]
, l = n[i++]
, p = t[s]
, v = e.data[s];
null !== v.setInput ? v.setInput(p, o, r, l) : p[l] = o
}
}
function to(e, t, n) {
const r = Vr(t, e);
!function _d(e, t, n) {
e.setValue(t, n)
}(e[11], r, n)
}
function qa(e, t, n) {
let r = n ? e.styles : null
, o = n ? e.classes : null
, i = 0;
if (null !== t)
for (let s = 0; s < t.length; s++) {
const l = t[s];
"number" == typeof l ? i = l : 1 == i ? o = Pe(o, l) : 2 == i && (r = Pe(r, l + ": " + t[++s] + ";"))
}
n ? e.styles = r : e.stylesWithoutHost = r,
n ? e.classes = o : e.classesWithoutHost = o
}
function Xa(e, t, n, r, o=!1) {
for (; null !== n; ) {
const i = t[n.index];
if (null !== i && r.push(Pt(i)),
In(i))
for (let l = 10; l < i.length; l++) {
const p = i[l]
, v = p[1].firstChild;
null !== v && Xa(p[1], p, v, r)
}
const s = n.type;
if (8 & s)
Xa(e, t, n.child, r);
else if (32 & s) {
const l = Hc(n, t);
let p;
for (; p = l(); )
r.push(p)
} else if (16 & s) {
const l = Od(t, n);
if (Array.isArray(l))
r.push(...l);
else {
const p = Us(t[16]);
Xa(p[1], p, l, r, !0)
}
}
n = o ? n.projectionNext : n.next
}
return r
}
class Gs {
constructor(t, n) {
this._lView = t,
this._cdRefInjectingView = n,
this._appRef = null,
this._attachedToViewContainer = !1
}
get rootNodes() {
const t = this._lView
, n = t[1];
return Xa(n, t, n.firstChild, [])
}
get context() {
return this._lView[8]
}
set context(t) {
this._lView[8] = t
}
get destroyed() {
return 128 == (128 & this._lView[2])
}
destroy() {
if (this._appRef)
this._appRef.detachView(this);
else if (this._attachedToViewContainer) {
const t = this._lView[3];
if (In(t)) {
const n = t[8]
, r = n ? n.indexOf(this) : -1;
r > -1 && (Wc(t, r),
Ti(n, r))
}
this._attachedToViewContainer = !1
}
wd(this._lView[1], this._lView)
}
onDestroy(t) {
Gf(this._lView[1], this._lView, null, t)
}
markForCheck() {
Uu(this._cdRefInjectingView || this._lView)
}
detach() {
this._lView[2] &= -65
}
reattach() {
this._lView[2] |= 64
}
detectChanges() {
Qa(this._lView[1], this._lView, this.context)
}
checkNoChanges() {}
attachToViewContainerRef() {
if (this._appRef)
throw new ve(902,!1);
this._attachedToViewContainer = !0
}
detachFromAppRef() {
this._appRef = null,
function nv(e, t) {
Bs(e, t, t[11], 2, null, null)
}(this._lView[1], this._lView)
}
attachToAppRef(t) {
if (this._attachedToViewContainer)
throw new ve(902,!1);
this._appRef = t
}
}
class M0 extends Gs {
constructor(t) {
super(t),
this._view = t
}
detectChanges() {
const t = this._view;
Qa(t[1], t, t[8], !1)
}
checkNoChanges() {}
get context() {
return null
}
}
class Hu extends $s {
constructor(t) {
super(),
this.ngModule = t
}
resolveComponentFactory(t) {
const n = b(t);
return new Ws(n,this.ngModule)
}
}
function ih(e) {
const t = [];
for (let n in e)
e.hasOwnProperty(n) && t.push({
propName: e[n],
templateName: n
});
return t
}
class I0 {
constructor(t, n) {
this.injector = t,
this.parentInjector = n
}
get(t, n, r) {
const o = this.injector.get(t, hu, r);
return o !== hu || n === hu ? o : this.parentInjector.get(t, n, r)
}
}
class Ws extends rf {
constructor(t, n) {
super(),
this.componentDef = t,
this.ngModule = n,
this.componentType = t.type,
this.selector = function My(e) {
return e.map(by).join(",")
}(t.selectors),
this.ngContentSelectors = t.ngContentSelectors ? t.ngContentSelectors : [],
this.isBoundToModule = !!n
}
get inputs() {
return ih(this.componentDef.inputs)
}
get outputs() {
return ih(this.componentDef.outputs)
}
create(t, n, r, o) {
let i = (o = o || this.ngModule)instanceof Zo ? o : o?.injector;
i && null !== this.componentDef.getStandaloneInjector && (i = this.componentDef.getStandaloneInjector(i) || i);
const s = i ? new I0(t,i) : t
, l = s.get(af, null);
if (null === l)
throw new ve(407,!1);
const p = s.get(sy, null)
, v = l.createRenderer(null, this.componentDef)
, E = this.componentDef.selectors[0][0] || "div"
, I = r ? function s0(e, t, n) {
return e.selectRootElement(t, n === Ht.ShadowDom)
}(v, r, this.componentDef.encapsulation) : Gc(v, E, function S0(e) {
const t = e.toLowerCase();
return "svg" === t ? "svg" : "math" === t ? "math" : null
}(E))
, k = this.componentDef.onPush ? 288 : 272
, ee = Fu(0, null, null, 1, 0, null, null, null, null, null)
, ye = Ya(null, ee, null, k, null, null, l, v, p, s, null);
let Ie, ke;
Ci(ye);
try {
const ze = function A0(e, t, n, r, o, i) {
const s = n[1];
n[22] = e;
const p = Ui(s, 22, 2, "#host", null)
, v = p.mergedAttrs = t.hostAttrs;
null !== v && (qa(p, v, !0),
null !== e && (dt(o, e, v),
null !== p.classes && qc(o, e, p.classes),
null !== p.styles && Fd(o, e, p.styles)));
const E = r.createRenderer(e, t)
, I = Ya(n, zf(t), null, t.onPush ? 32 : 16, n[22], p, r, E, i || null, null, null);
return s.firstCreatePass && (Mi(Do(p, n), s, t.type),
Qf(s, p),
qf(p, n.length, 1)),
Ja(n, I),
n[22] = I
}(I, this.componentDef, ye, l, v);
if (I)
if (r)
dt(v, I, ["ng-version", ay.full]);
else {
const {attrs: Ze, classes: be} = function Sy(e) {
const t = []
, n = [];
let r = 1
, o = 2;
for (; r < e.length; ) {
let i = e[r];
if ("string" == typeof i)
2 === o ? "" !== i && t.push(i, e[++r]) : 8 === o && n.push(i);
else {
if (!vr(o))
break;
o = i
}
r++
}
return {
attrs: t,
classes: n
}
}(this.componentDef.selectors[0]);
Ze && dt(v, I, Ze),
be && be.length > 0 && qc(v, I, be.join(" "))
}
if (ke = Pr(ee, 22),
void 0 !== n) {
const Ze = ke.projection = [];
for (let be = 0; be < this.ngContentSelectors.length; be++) {
const et = n[be];
Ze.push(null != et ? Array.from(et) : null)
}
}
Ie = function P0(e, t, n, r) {
const o = n[1]
, i = function l0(e, t, n) {
const r = Wt();
e.firstCreatePass && (n.providersResolver && n.providersResolver(n),
Xf(e, r, t, Bi(e, t, 1, null), n),
Kf(e, r));
const o = Rr(t, e, r.directiveStart, r);
wn(o, t);
const i = dn(r, t);
return i && wn(i, t),
o
}(o, n, t);
if (e[8] = n[8] = i,
null !== r)
for (const l of r)
l(i, t);
if (t.contentQueries) {
const l = Wt();
t.contentQueries(1, i, l.directiveStart)
}
const s = Wt();
return !o.firstCreatePass || null === t.hostBindings && null === t.hostAttrs || (fr(s.index),
Zf(n[1], s, 0, s.directiveStart, s.directiveEnd, t),
Jf(t, i)),
i
}(ze, this.componentDef, ye, [O0]),
Pu(ee, ye, null)
} finally {
mo()
}
return new T0(this.componentType,Ie,Fi(ke, ye),ye,ke)
}
}
class T0 extends class Xv {
}
{
constructor(t, n, r, o, i) {
super(),
this.location = r,
this._rootLView = o,
this._tNode = i,
this.instance = n,
this.hostView = this.changeDetectorRef = new M0(o),
this.componentType = t
}
setInput(t, n) {
const r = this._tNode.inputs;
let o;
if (null !== r && (o = r[t])) {
const i = this._rootLView;
ju(i[1], i, o, t, n),
Yf(i, this._tNode.index)
}
}
get injector() {
return new Co(this._tNode,this._rootLView)
}
destroy() {
this.hostView.destroy()
}
onDestroy(t) {
this.hostView.onDestroy(t)
}
}
function O0() {
const e = Wt();
Or(we()[1], e)
}
let ec = null;
function Qo() {
if (!ec) {
const e = Ke.Symbol;
if (e && e.iterator)
ec = e.iterator;
else {
const t = Object.getOwnPropertyNames(Map.prototype);
for (let n = 0; n < t.length; ++n) {
const r = t[n];
"entries" !== r && "size" !== r && Map.prototype[r] === Map.prototype.entries && (ec = r)
}
}
}
return ec
}
function Ks(e) {
return !!Vu(e) && (Array.isArray(e) || !(e instanceof Map) && Qo()in e)
}
function Vu(e) {
return null !== e && ("function" == typeof e || "object" == typeof e)
}
function kr(e, t, n) {
return e[t] = n
}
function bn(e, t, n) {
return !Object.is(e[t], n) && (e[t] = n,
!0)
}
function qo(e, t, n, r) {
const o = bn(e, t, n);
return bn(e, t + 1, r) || o
}
function zu(e, t, n, r) {
const o = we();
return bn(o, tr(), t) && (pt(),
Lr(Ot(), o, e, t, n, r)),
zu
}
function $i(e, t, n, r, o, i) {
const l = qo(e, function zn() {
return ot.lFrame.bindingIndex
}(), n, o);
return Cn(2),
l ? t + V(n) + r + V(o) + i : ct
}
function vh(e, t, n, r, o, i, s, l) {
const p = we()
, v = pt()
, E = e + 22
, I = v.firstCreatePass ? function z0(e, t, n, r, o, i, s, l, p) {
const v = t.consts
, E = Ui(t, e, 4, s || null, lr(v, l));
Nu(t, n, E, lr(v, p)),
Or(t, E);
const I = E.tViews = Fu(2, E, r, o, i, t.directiveRegistry, t.pipeRegistry, null, t.schemas, v);
return null !== t.queries && (t.queries.template(t, E),
I.queries = t.queries.embeddedTView(E)),
E
}(E, v, p, t, n, r, o, i, s) : v.data[E];
pn(I, !1);
const k = p[11].createComment("");
La(v, p, k, I),
wn(k, p),
Ja(p, p[E] = eh(k, p, k, I)),
Hr(I) && Ou(v, p, I),
null != s && Ru(p, I, l)
}
function Gu(e, t, n) {
const r = we();
return bn(r, tr(), t) && function Zn(e, t, n, r, o, i, s, l) {
const p = dn(t, n);
let E, v = t.inputs;
!l && null != v && (E = v[r]) ? (ju(e, n, E, r, o),
cn(t) && Yf(n, t.index)) : 3 & t.type && (r = function c0(e) {
return "class" === e ? "className" : "for" === e ? "htmlFor" : "formaction" === e ? "formAction" : "innerHtml" === e ? "innerHTML" : "readonly" === e ? "readOnly" : "tabindex" === e ? "tabIndex" : e
}(r),
o = null != s ? s(o, t.value || "", r) : o,
i.setProperty(p, r, o))
}(pt(), Ot(), r, e, t, r[11], n, !1),
Gu
}
function Wu(e, t, n, r, o) {
const s = o ? "class" : "style";
ju(e, n, t.inputs[s], s, r)
}
function nc(e, t, n, r) {
const o = we()
, i = pt()
, s = 22 + e
, l = o[11]
, p = o[s] = Gc(l, t, function Cs() {
return ot.lFrame.currentNamespace
}())
, v = i.firstCreatePass ? function K0(e, t, n, r, o, i, s) {
const l = t.consts
, v = Ui(t, e, 2, o, lr(l, i));
return Nu(t, n, v, lr(l, s)),
null !== v.attrs && qa(v, v.attrs, !1),
null !== v.mergedAttrs && qa(v, v.mergedAttrs, !0),
null !== t.queries && t.queries.elementStart(t, v),
v
}(s, i, o, 0, t, n, r) : i.data[s];
pn(v, !0);
const E = v.mergedAttrs;
null !== E && dt(l, p, E);
const I = v.classes;
null !== I && qc(l, p, I);
const k = v.styles;
return null !== k && Fd(l, p, k),
64 != (64 & v.flags) && La(i, o, p, v),
0 === function ls() {
return ot.lFrame.elementDepthCount
}() && wn(p, o),
function ds() {
ot.lFrame.elementDepthCount++
}(),
Hr(v) && (Ou(i, o, v),
Vf(i, v, o)),
null !== r && Ru(o, v),
nc
}
function rc() {
let e = Wt();
pi() ? gi() : (e = e.parent,
pn(e, !1));
const t = e;
!function fi() {
ot.lFrame.elementDepthCount--
}();
const n = pt();
return n.firstCreatePass && (Or(n, e),
io(e) && n.queries.elementEnd(e)),
null != t.classesWithoutHost && function Ge(e) {
return 0 != (16 & e.flags)
}(t) && Wu(n, t, we(), t.classesWithoutHost, !0),
null != t.stylesWithoutHost && function vt(e) {
return 0 != (32 & e.flags)
}(t) && Wu(n, t, we(), t.stylesWithoutHost, !1),
rc
}
function Ku(e, t, n, r) {
return nc(e, t, n, r),
rc(),
Ku
}
function oc(e, t, n) {
const r = we()
, o = pt()
, i = e + 22
, s = o.firstCreatePass ? function Y0(e, t, n, r, o) {
const i = t.consts
, s = lr(i, r)
, l = Ui(t, e, 8, "ng-container", s);
return null !== s && qa(l, s, !0),
Nu(t, n, l, lr(i, o)),
null !== t.queries && t.queries.elementStart(t, l),
l
}(i, o, r, t, n) : o.data[i];
pn(s, !0);
const l = r[i] = r[11].createComment("");
return La(o, r, l, s),
wn(l, r),
Hr(s) && (Ou(o, r, s),
Vf(o, s, r)),
null != n && Ru(r, s),
oc
}
function ic() {
let e = Wt();
const t = pt();
return pi() ? gi() : (e = e.parent,
pn(e, !1)),
t.firstCreatePass && (Or(t, e),
io(e) && t.queries.elementEnd(e)),
ic
}
function Dh() {
return we()
}
function Yu(e) {
return !!e && "function" == typeof e.then
}
function Ch(e) {
return !!e && "function" == typeof e.subscribe
}
const _h = Ch;
function Zu(e, t, n, r) {
const o = we()
, i = pt()
, s = Wt();
return function wh(e, t, n, r, o, i, s, l) {
const p = Hr(r)
, E = e.firstCreatePass && nh(e)
, I = t[8]
, k = th(t);
let ee = !0;
if (3 & r.type || l) {
const ke = dn(r, t)
, ze = l ? l(ke) : ke
, Ze = k.length
, be = l ? Mt => l(Pt(Mt[r.index])) : r.index;
let et = null;
if (!l && p && (et = function Z0(e, t, n, r) {
const o = e.cleanup;
if (null != o)
for (let i = 0; i < o.length - 1; i += 2) {
const s = o[i];
if (s === n && o[i + 1] === r) {
const l = t[7]
, p = o[i + 2];
return l.length > p ? l[p] : null
}
"string" == typeof s && (i += 2)
}
return null
}(e, t, o, r.index)),
null !== et)
(et.__ngLastListenerFn__ || et).__ngNextListenerFn__ = i,
et.__ngLastListenerFn__ = i,
ee = !1;
else {
i = Mh(r, t, I, i, !1);
const Mt = n.listen(ze, o, i);
k.push(i, Mt),
E && E.push(o, be, Ze, Ze + 1)
}
} else
i = Mh(r, t, I, i, !1);
const ye = r.outputs;
let Ie;
if (ee && null !== ye && (Ie = ye[o])) {
const ke = Ie.length;
if (ke)
for (let ze = 0; ze < ke; ze += 2) {
const $t = t[Ie[ze]][Ie[ze + 1]].subscribe(i)
, ti = k.length;
k.push(i, $t),
E && E.push(o, r.index, ti, -(ti + 1))
}
}
}(i, o, o[11], s, e, t, 0, r),
Zu
}
function bh(e, t, n, r) {
try {
return !1 !== n(r)
} catch (o) {
return oh(e, o),
!1
}
}
function Mh(e, t, n, r, o) {
return function i(s) {
if (s === Function)
return r;
Uu(2 & e.flags ? fn(e.index, t) : t);
let p = bh(t, 0, r, s)
, v = i.__ngNextListenerFn__;
for (; v; )
p = bh(t, 0, v, s) && p,
v = v.__ngNextListenerFn__;
return o && !1 === p && (s.preventDefault(),
s.returnValue = !1),
p
}
}
function Sh(e=1) {
return function ys(e) {
return (ot.lFrame.contextLView = function Ei(e, t) {
for (; e > 0; )
t = t[15],
e--;
return t
}(e, ot.lFrame.contextLView))[8]
}(e)
}
function Lh(e, t, n, r, o) {
const i = e[n + 1]
, s = null === t;
let l = r ? yr(i) : eo(i)
, p = !1;
for (; 0 !== l && (!1 === p || s); ) {
const E = e[l + 1];
tD(e[l], t) && (p = !0,
e[l + 1] = r ? Eu(E) : Cu(E)),
l = r ? yr(E) : eo(E)
}
p && (e[n + 1] = r ? Cu(i) : Eu(i))
}
function tD(e, t) {
return null === e || null == t || (Array.isArray(e) ? e[1] : e) === t || !(!Array.isArray(e) || "string" != typeof t) && zo(e, t) >= 0
}
const an = {
textEnd: 0,
key: 0,
keyEnd: 0,
value: 0,
valueEnd: 0
};
function kh(e) {
return e.substring(an.key, an.keyEnd)
}
function nD(e) {
return e.substring(an.value, an.valueEnd)
}
function Bh(e, t) {
const n = an.textEnd;
let r = an.key = Zi(e, t, n);
return n === r ? -1 : (r = an.keyEnd = function sD(e, t, n) {
let r;
for (; t < n && (45 === (r = e.charCodeAt(t)) || 95 === r || (-33 & r) >= 65 && (-33 & r) <= 90 || r >= 48 && r <= 57); )
t++;
return t
}(e, r, n),
r = Hh(e, r, n),
r = an.value = Zi(e, r, n),
r = an.valueEnd = function aD(e, t, n) {
let r = -1
, o = -1
, i = -1
, s = t
, l = s;
for (; s < n; ) {
const p = e.charCodeAt(s++);
if (59 === p)
return l;
34 === p || 39 === p ? l = s = $h(e, p, s, n) : t === s - 4 && 85 === i && 82 === o && 76 === r && 40 === p ? l = s = $h(e, 41, s, n) : p > 32 && (l = s),
i = o,
o = r,
r = -33 & p
}
return l
}(e, r, n),
Hh(e, r, n))
}
function Zi(e, t, n) {
for (; t < n && e.charCodeAt(t) <= 32; )
t++;
return t
}
function Hh(e, t, n, r) {
return (t = Zi(e, t, n)) < n && t++,
t
}
function $h(e, t, n, r) {
let o = -1
, i = n;
for (; i < r; ) {
const s = e.charCodeAt(i++);
if (s == t && 92 !== o)
return i;
o = 92 == s && 92 === o ? 0 : s
}
throw new Error
}
function Qu(e, t, n) {
return Cr(e, t, n, !1),
Qu
}
function qu(e, t) {
return Cr(e, t, null, !0),
qu
}
function Dr(e) {
!function _r(e, t, n, r) {
const o = pt()
, i = Cn(2);
o.firstUpdatePass && zh(o, null, i, r);
const s = we();
if (n !== ct && bn(s, i, n)) {
const l = o.data[Kt()];
if (Yh(l, r) && !Vh(o, i)) {
let p = r ? l.classesWithoutHost : l.stylesWithoutHost;
null !== p && (n = Pe(p, n || "")),
Wu(o, l, s, n, r)
} else
!function gD(e, t, n, r, o, i, s, l) {
o === ct && (o = ut);
let p = 0
, v = 0
, E = 0 < o.length ? o[0] : null
, I = 0 < i.length ? i[0] : null;
for (; null !== E || null !== I; ) {
const k = p < o.length ? o[p + 1] : void 0
, ee = v < i.length ? i[v + 1] : void 0;
let Ie, ye = null;
E === I ? (p += 2,
v += 2,
k !== ee && (ye = I,
Ie = ee)) : null === I || null !== E && E < I ? (p += 2,
ye = E) : (v += 2,
ye = I,
Ie = ee),
null !== ye && Wh(e, t, n, r, ye, Ie, s, l),
E = p < o.length ? o[p] : null,
I = v < i.length ? i[v] : null
}
}(o, l, s, s[11], s[i + 1], s[i + 1] = function pD(e, t, n) {
if (null == n || "" === n)
return ut;
const r = []
, o = Qr(n);
if (Array.isArray(o))
for (let i = 0; i < o.length; i++)
e(r, o[i], !0);
else if ("object" == typeof o)
for (const i in o)
o.hasOwnProperty(i) && e(r, i, o[i]);
else
"string" == typeof o && t(r, o);
return r
}(e, t, n), r, i)
}
}(Gh, cD, e, !1)
}
function cD(e, t) {
for (let n = function oD(e) {
return function jh(e) {
an.key = 0,
an.keyEnd = 0,
an.value = 0,
an.valueEnd = 0,
an.textEnd = e.length
}(e),
Bh(e, Zi(e, 0, an.textEnd))
}(t); n >= 0; n = Bh(t, n))
Gh(e, kh(t), nD(t))
}
function Cr(e, t, n, r) {
const o = we()
, i = pt()
, s = Cn(2);
i.firstUpdatePass && zh(i, e, s, r),
t !== ct && bn(o, s, t) && Wh(i, i.data[Kt()], o, o[11], e, o[s + 1] = function mD(e, t) {
return null == e || ("string" == typeof t ? e += t : "object" == typeof e && (e = ne(Qr(e)))),
e
}(t, n), r, s)
}
function Vh(e, t) {
return t >= e.expandoStartIndex
}
function zh(e, t, n, r) {
const o = e.data;
if (null === o[n + 1]) {
const i = o[Kt()]
, s = Vh(e, n);
Yh(i, r) && null === t && !s && (t = !1),
t = function lD(e, t, n, r) {
const o = function yi(e) {
const t = ot.lFrame.currentDirectiveIndex;
return -1 === t ? null : e[t]
}(e);
let i = r ? t.residualClasses : t.residualStyles;
if (null === o)
0 === (r ? t.classBindings : t.styleBindings) && (n = Zs(n = Xu(null, e, t, n, r), t.attrs, r),
i = null);
else {
const s = t.directiveStylingLast;
if (-1 === s || e[s] !== o)
if (n = Xu(o, e, t, n, r),
null === i) {
let p = function dD(e, t, n) {
const r = n ? t.classBindings : t.styleBindings;
if (0 !== eo(r))
return e[yr(r)]
}(e, t, r);
void 0 !== p && Array.isArray(p) && (p = Xu(null, e, t, p[1], r),
p = Zs(p, t.attrs, r),
function fD(e, t, n, r) {
e[yr(n ? t.classBindings : t.styleBindings)] = r
}(e, t, r, p))
} else
i = function hD(e, t, n) {
let r;
const o = t.directiveEnd;
for (let i = 1 + t.directiveStylingLast; i < o; i++)
r = Zs(r, e[i].hostAttrs, n);
return Zs(r, t.attrs, n)
}(e, t, r)
}
return void 0 !== i && (r ? t.residualClasses = i : t.residualStyles = i),
n
}(o, i, t, r),
function X0(e, t, n, r, o, i) {
let s = i ? t.classBindings : t.styleBindings
, l = yr(s)
, p = eo(s);
e[r] = n;
let E, v = !1;
if (Array.isArray(n)) {
const I = n;
E = I[1],
(null === E || zo(I, E) > 0) && (v = !0)
} else
E = n;
if (o)
if (0 !== p) {
const k = yr(e[l + 1]);
e[r + 1] = Ga(k, l),
0 !== k && (e[k + 1] = _u(e[k + 1], r)),
e[l + 1] = function Gy(e, t) {
return 131071 & e | t << 17
}(e[l + 1], r)
} else
e[r + 1] = Ga(l, 0),
0 !== l && (e[l + 1] = _u(e[l + 1], r)),
l = r;
else
e[r + 1] = Ga(p, 0),
0 === l ? l = r : e[p + 1] = _u(e[p + 1], r),
p = r;
v && (e[r + 1] = Cu(e[r + 1])),
Lh(e, E, r, !0),
Lh(e, E, r, !1),
function eD(e, t, n, r, o) {
const i = o ? e.residualClasses : e.residualStyles;
null != i && "string" == typeof t && zo(i, t) >= 0 && (n[r + 1] = Eu(n[r + 1]))
}(t, E, e, r, i),
s = Ga(l, p),
i ? t.classBindings = s : t.styleBindings = s
}(o, i, t, n, s, r)
}
}
function Xu(e, t, n, r, o) {
let i = null;
const s = n.directiveEnd;
let l = n.directiveStylingLast;
for (-1 === l ? l = n.directiveStart : l++; l < s && (i = t[l],
r = Zs(r, i.hostAttrs, o),
i !== e); )
l++;
return null !== e && (n.directiveStylingLast = l),
r
}
function Zs(e, t, n) {
const r = n ? 1 : 2;
let o = -1;
if (null !== t)
for (let i = 0; i < t.length; i++) {
const s = t[i];
"number" == typeof s ? o = s : o === r && (Array.isArray(e) || (e = void 0 === e ? [] : ["", e]),
En(e, s, !!n || t[++i]))
}
return void 0 === e ? null : e
}
function Gh(e, t, n) {
En(e, t, Qr(n))
}
function Wh(e, t, n, r, o, i, s, l) {
if (!(3 & t.type))
return;
const p = e.data
, v = p[l + 1];
sc(function Rf(e) {
return 1 == (1 & e)
}(v) ? Kh(p, t, n, o, eo(v), s) : void 0) || (sc(i) || function Of(e) {
return 2 == (2 & e)
}(v) && (i = Kh(p, null, n, o, l, s)),
function fv(e, t, n, r, o) {
if (t)
o ? e.addClass(n, r) : e.removeClass(n, r);
else {
let i = -1 === r.indexOf("-") ? void 0 : Nr.DashCase;
null == o ? e.removeStyle(n, r, i) : ("string" == typeof o && o.endsWith("!important") && (o = o.slice(0, -10),
i |= Nr.Important),
e.setStyle(n, r, o, i))
}
}(r, s, Vr(Kt(), n), o, i))
}
function Kh(e, t, n, r, o, i) {
const s = null === t;
let l;
for (; o > 0; ) {
const p = e[o]
, v = Array.isArray(p)
, E = v ? p[1] : p
, I = null === E;
let k = n[o + 1];
k === ct && (k = I ? ut : void 0);
let ee = I ? As(k, r) : E === r ? k : void 0;
if (v && !sc(ee) && (ee = As(p, r)),
sc(ee) && (l = ee,
s))
return l;
const ye = e[o + 1];
o = s ? yr(ye) : eo(ye)
}
if (null !== t) {
let p = i ? t.residualClasses : t.residualStyles;
null != p && (l = As(p, r))
}
return l
}
function sc(e) {
return void 0 !== e
}
function Yh(e, t) {
return 0 != (e.flags & (t ? 16 : 32))
}
function Zh(e, t="") {
const n = we()
, r = pt()
, o = e + 22
, i = r.firstCreatePass ? Ui(r, o, 1, t, null) : r.data[o]
, s = n[o] = function zc(e, t) {
return e.createText(t)
}(n[11], t);
La(r, n, s, i),
pn(i, !1)
}
function el(e) {
return ac("", e, ""),
el
}
function ac(e, t, n) {
const r = we()
, o = function Hi(e, t, n, r) {
return bn(e, tr(), n) ? t + V(n) + r : ct
}(r, e, t, n);
return o !== ct && to(r, Kt(), o),
ac
}
function tl(e, t, n, r, o) {
const i = we()
, s = $i(i, e, t, n, r, o);
return s !== ct && to(i, Kt(), s),
tl
}
const Xo = void 0;
var LD = ["en", [["a", "p"], ["AM", "PM"], Xo], [["AM", "PM"], Xo, Xo], [["S", "M", "T", "W", "T", "F", "S"], ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"], ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]], Xo, [["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]], Xo, [["B", "A"], ["BC", "AD"], ["Before Christ", "Anno Domini"]], 0, [6, 0], ["M/d/yy", "MMM d, y", "MMMM d, y", "EEEE, MMMM d, y"], ["h:mm a", "h:mm:ss a", "h:mm:ss a z", "h:mm:ss a zzzz"], ["{1}, {0}", Xo, "{1} 'at' {0}", Xo], [".", ",", ";", "%", "+", "-", "E", "\xd7", "\u2030", "\u221e", "NaN", ":"], ["#,##0.###", "#,##0%", "\xa4#,##0.00", "#E0"], "USD", "$", "US Dollar", {}, "ltr", function ND(e) {
const n = Math.floor(Math.abs(e))
, r = e.toString().replace(/^[^.]*\.?/, "").length;
return 1 === n && 0 === r ? 1 : 5
}
];
let Ji = {};
function nl(e) {
const t = function kD(e) {
return e.toLowerCase().replace(/_/g, "-")
}(e);
let n = gp(t);
if (n)
return n;
const r = t.split("-")[0];
if (n = gp(r),
n)
return n;
if ("en" === r)
return LD;
throw new ve(701,!1)
}
function pp(e) {
return nl(e)[qe.PluralCase]
}
function gp(e) {
return e in Ji || (Ji[e] = Ke.ng && Ke.ng.common && Ke.ng.common.locales && Ke.ng.common.locales[e]),
Ji[e]
}
var qe = ( () => ((qe = qe || {})[qe.LocaleId = 0] = "LocaleId",
qe[qe.DayPeriodsFormat = 1] = "DayPeriodsFormat",
qe[qe.DayPeriodsStandalone = 2] = "DayPeriodsStandalone",
qe[qe.DaysFormat = 3] = "DaysFormat",
qe[qe.DaysStandalone = 4] = "DaysStandalone",
qe[qe.MonthsFormat = 5] = "MonthsFormat",
qe[qe.MonthsStandalone = 6] = "MonthsStandalone",
qe[qe.Eras = 7] = "Eras",
qe[qe.FirstDayOfWeek = 8] = "FirstDayOfWeek",
qe[qe.WeekendRange = 9] = "WeekendRange",
qe[qe.DateFormat = 10] = "DateFormat",
qe[qe.TimeFormat = 11] = "TimeFormat",
qe[qe.DateTimeFormat = 12] = "DateTimeFormat",
qe[qe.NumberSymbols = 13] = "NumberSymbols",
qe[qe.NumberFormats = 14] = "NumberFormats",
qe[qe.CurrencyCode = 15] = "CurrencyCode",
qe[qe.CurrencySymbol = 16] = "CurrencySymbol",
qe[qe.CurrencyName = 17] = "CurrencyName",
qe[qe.Currencies = 18] = "Currencies",
qe[qe.Directionality = 19] = "Directionality",
qe[qe.PluralCase = 20] = "PluralCase",
qe[qe.ExtraData = 21] = "ExtraData",
qe))();
const Qi = "en-US";
let mp = Qi;
class qi {
}
class $p {
}
function LC(e, t) {
return new Vp(e,t ?? null)
}
class Vp extends qi {
constructor(t, n) {
super(),
this._parent = n,
this._bootstrapComponents = [],
this.destroyCbs = [],
this.componentFactoryResolver = new Hu(this);
const r = Je(t);
this._bootstrapComponents = Xr(r.bootstrap),
this._r3Injector = wf(t, n, [{
provide: qi,
useValue: this
}, {
provide: $s,
useValue: this.componentFactoryResolver
}], ne(t), new Set(["environment"])),
this._r3Injector.resolveInjectorInitializers(),
this.instance = this._r3Injector.get(t)
}
get injector() {
return this._r3Injector
}
destroy() {
const t = this._r3Injector;
!t.destroyed && t.destroy(),
this.destroyCbs.forEach(n => n()),
this.destroyCbs = null
}
onDestroy(t) {
this.destroyCbs.push(t)
}
}
class ul extends $p {
constructor(t) {
super(),
this.moduleType = t
}
create(t) {
return new Vp(this.moduleType,t)
}
}
class kC extends qi {
constructor(t, n, r) {
super(),
this.componentFactoryResolver = new Hu(this),
this.instance = null;
const o = new tf([...t, {
provide: qi,
useValue: this
}, {
provide: $s,
useValue: this.componentFactoryResolver
}],n || Va(),r,new Set(["environment"]));
this.injector = o,
o.resolveInjectorInitializers()
}
destroy() {
this.injector.destroy()
}
onDestroy(t) {
this.injector.onDestroy(t)
}
}
function ll(e, t, n=null) {
return new kC(e,t,n).injector
}
let UC = ( () => {
class e {
constructor(n) {
this._injector = n,
this.cachedInjectors = new Map
}
getOrCreateStandaloneInjector(n) {
if (!n.standalone)
return null;
if (!this.cachedInjectors.has(n.id)) {
const r = Qd(0, n.type)
, o = r.length > 0 ? ll([r], this._injector, `Standalone[${n.type.name}]`) : null;
this.cachedInjectors.set(n.id, o)
}
return this.cachedInjectors.get(n.id)
}
ngOnDestroy() {
try {
for (const n of this.cachedInjectors.values())
null !== n && n.destroy()
} finally {
this.cachedInjectors.clear()
}
}
}
return e.\u0275prov = it({
token: e,
providedIn: "environment",
factory: () => new e(nn(Zo))
}),
e
}
)();
function zp(e) {
e.getStandaloneInjector = t => t.get(UC).getOrCreateStandaloneInjector(e)
}
function Qp(e, t, n) {
const r = tn() + e
, o = we();
return o[r] === ct ? kr(o, r, n ? t.call(n) : t()) : function Ys(e, t) {
return e[t]
}(o, r)
}
function qp(e, t, n, r) {
return eg(we(), tn(), e, t, n, r)
}
function Xp(e, t, n, r, o) {
return tg(we(), tn(), e, t, n, r, o)
}
function ta(e, t) {
const n = e[t];
return n === ct ? void 0 : n
}
function eg(e, t, n, r, o, i) {
const s = t + n;
return bn(e, s, o) ? kr(e, s + 1, i ? r.call(i, o) : r(o)) : ta(e, s + 1)
}
function tg(e, t, n, r, o, i, s) {
const l = t + n;
return qo(e, l, o, i) ? kr(e, l + 2, s ? r.call(s, o, i) : r(o, i)) : ta(e, l + 2)
}
function ig(e, t) {
const n = pt();
let r;
const o = e + 22;
n.firstCreatePass ? (r = function e_(e, t) {
if (t)
for (let n = t.length - 1; n >= 0; n--) {
const r = t[n];
if (e === r.name)
return r
}
}(t, n.pipeRegistry),
n.data[o] = r,
r.onDestroy && (n.destroyHooks || (n.destroyHooks = [])).push(o, r.onDestroy)) : r = n.data[o];
const i = r.factory || (r.factory = Xn(r.type))
, s = ge(ki);
try {
const l = Yr(!1)
, p = i();
return Yr(l),
function G0(e, t, n, r) {
n >= e.data.length && (e.data[n] = null,
e.blueprint[n] = null),
t[n] = r
}(n, we(), o, p),
p
} finally {
ge(s)
}
}
function sg(e, t, n) {
const r = e + 22
, o = we()
, i = xn(o, r);
return na(o, r) ? eg(o, tn(), t, i.transform, n, i) : i.transform(n)
}
function ag(e, t, n, r) {
const o = e + 22
, i = we()
, s = xn(i, o);
return na(i, o) ? tg(i, tn(), t, s.transform, n, r, s) : s.transform(n, r)
}
function na(e, t) {
return e[1].data[t].pure
}
function fl(e) {
return t => {
setTimeout(e, void 0, t)
}
}
const Br = class o_ extends h.x {
constructor(t=!1) {
super(),
this.__isAsync = t
}
emit(t) {
super.next(t)
}
subscribe(t, n, r) {
let o = t
, i = n || ( () => null)
, s = r;
if (t && "object" == typeof t) {
const p = t;
o = p.next?.bind(p),
i = p.error?.bind(p),
s = p.complete?.bind(p)
}
this.__isAsync && (i = fl(i),
o && (o = fl(o)),
s && (s = fl(s)));
const l = super.subscribe({
next: o,
error: i,
complete: s
});
return t instanceof w.w0 && t.add(l),
l
}
}
;
function i_() {
return this._results[Qo()]()
}
class hl {
constructor(t=!1) {
this._emitDistinctChangesOnly = t,
this.dirty = !0,
this._results = [],
this._changesDetected = !1,
this._changes = null,
this.length = 0,
this.first = void 0,
this.last = void 0;
const n = Qo()
, r = hl.prototype;
r[n] || (r[n] = i_)
}
get changes() {
return this._changes || (this._changes = new Br)
}
get(t) {
return this._results[t]
}
map(t) {
return this._results.map(t)
}
filter(t) {
return this._results.filter(t)
}
find(t) {
return this._results.find(t)
}
reduce(t, n) {
return this._results.reduce(t, n)
}
forEach(t) {
this._results.forEach(t)
}
some(t) {
return this._results.some(t)
}
toArray() {
return this._results.slice()
}
toString() {
return this._results.toString()
}
reset(t, n) {
const r = this;
r.dirty = !1;
const o = ln(t);
(this._changesDetected = !function Jl(e, t, n) {
if (e.length !== t.length)
return !1;
for (let r = 0; r < e.length; r++) {
let o = e[r]
, i = t[r];
if (n && (o = n(o),
i = n(i)),
i !== o)
return !1
}
return !0
}(r._results, o, n)) && (r._results = o,
r.length = o.length,
r.last = o[this.length - 1],
r.first = o[0])
}
notifyOnChanges() {
this._changes && (this._changesDetected || !this._emitDistinctChangesOnly) && this._changes.emit(this)
}
setDirty() {
this.dirty = !0
}
destroy() {
this.changes.complete(),
this.changes.unsubscribe()
}
}
let ra = ( () => {
class e {
}
return e.__NG_ELEMENT_ID__ = c_,
e
}
)();
const s_ = ra
, a_ = class extends s_ {
constructor(t, n, r) {
super(),
this._declarationLView = t,
this._declarationTContainer = n,
this.elementRef = r
}
createEmbeddedView(t, n) {
const r = this._declarationTContainer.tViews
, o = Ya(this._declarationLView, r, t, 16, null, r.declTNode, null, null, null, null, n || null);
o[17] = this._declarationLView[this._declarationTContainer.index];
const s = this._declarationLView[19];
return null !== s && (o[19] = s.createEmbeddedView(r)),
Pu(r, o, t),
new Gs(o)
}
}
;
function c_() {
return fc(Wt(), we())
}
function fc(e, t) {
return 4 & e.type ? new a_(t,e,Fi(e, t)) : null
}
let hc = ( () => {
class e {
}
return e.__NG_ELEMENT_ID__ = u_,
e
}
)();
function u_() {
return lg(Wt(), we())
}
const l_ = hc
, cg = class extends l_ {
constructor(t, n, r) {
super(),
this._lContainer = t,
this._hostTNode = n,
this._hostLView = r
}
get element() {
return Fi(this._hostTNode, this._hostLView)
}
get injector() {
return new Co(this._hostTNode,this._hostLView)
}
get parentInjector() {
const t = bi(this._hostTNode, this._hostLView);
if (_n(t)) {
const n = Kn(t, this._hostLView)
, r = gn(t);
return new Co(n[1].data[r + 8],n)
}
return new Co(null,this._hostLView)
}
clear() {
for (; this.length > 0; )
this.remove(this.length - 1)
}
get(t) {
const n = ug(this._lContainer);
return null !== n && n[t] || null
}
get length() {
return this._lContainer.length - 10
}
createEmbeddedView(t, n, r) {
let o, i;
"number" == typeof r ? o = r : null != r && (o = r.index,
i = r.injector);
const s = t.createEmbeddedView(n || {}, i);
return this.insert(s, o),
s
}
createComponent(t, n, r, o, i) {
const s = t && !function wo(e) {
return "function" == typeof e
}(t);
let l;
if (s)
l = n;
else {
const I = n || {};
l = I.index,
r = I.injector,
o = I.projectableNodes,
i = I.environmentInjector || I.ngModuleRef
}
const p = s ? t : new Ws(b(t))
, v = r || this.parentInjector;
if (!i && null == p.ngModule) {
const k = (s ? v : this.parentInjector).get(Zo, null);
k && (i = k)
}
const E = p.create(v, o, void 0, i);
return this.insert(E.hostView, l),
E
}
insert(t, n) {
const r = t._lView
, o = r[1];
if (function li(e) {
return In(e[3])
}(r)) {
const E = this.indexOf(t);
if (-1 !== E)
this.detach(E);
else {
const I = r[3]
, k = new cg(I,I[6],I[3]);
k.detach(k.indexOf(t))
}
}
const i = this._adjustIndex(n)
, s = this._lContainer;
!function ov(e, t, n, r) {
const o = 10 + r
, i = n.length;
r > 0 && (n[o - 1][4] = t),
r < i - 10 ? (t[4] = n[o],
Ts(n, 10 + r, t)) : (n.push(t),
t[4] = null),
t[3] = n;
const s = t[17];
null !== s && n !== s && function iv(e, t) {
const n = e[9];
t[16] !== t[3][3][16] && (e[2] = !0),
null === n ? e[9] = [t] : n.push(t)
}(s, t);
const l = t[19];
null !== l && l.insertView(e),
t[2] |= 64
}(o, r, s, i);
const l = Zc(i, s)
, p = r[11]
, v = Na(p, s[7]);
return null !== v && function tv(e, t, n, r, o, i) {
r[0] = o,
r[6] = t,
Bs(e, r, n, 1, o, i)
}(o, s[6], p, r, v, l),
t.attachToViewContainerRef(),
Ts(pl(s), i, t),
t
}
move(t, n) {
return this.insert(t, n)
}
indexOf(t) {
const n = ug(this._lContainer);
return null !== n ? n.indexOf(t) : -1
}
remove(t) {
const n = this._adjustIndex(t, -1)
, r = Wc(this._lContainer, n);
r && (Ti(pl(this._lContainer), n),
wd(r[1], r))
}
detach(t) {
const n = this._adjustIndex(t, -1)
, r = Wc(this._lContainer, n);
return r && null != Ti(pl(this._lContainer), n) ? new Gs(r) : null
}
_adjustIndex(t, n=0) {
return t ?? this.length + n
}
}
;
function ug(e) {
return e[8]
}
function pl(e) {
return e[8] || (e[8] = [])
}
function lg(e, t) {
let n;
const r = t[e.index];
if (In(r))
n = r;
else {
let o;
if (8 & e.type)
o = Pt(r);
else {
const i = t[11];
o = i.createComment("");
const s = dn(e, t);
Go(i, Na(i, s), o, function uv(e, t) {
return e.nextSibling(t)
}(i, s), !1)
}
t[e.index] = n = eh(r, t, o, e),
Ja(t, n)
}
return new cg(n,e,t)
}
class gl {
constructor(t) {
this.queryList = t,
this.matches = null
}
clone() {
return new gl(this.queryList)
}
setDirty() {
this.queryList.setDirty()
}
}
class ml {
constructor(t=[]) {
this.queries = t
}
createEmbeddedView(t) {
const n = t.queries;
if (null !== n) {
const r = null !== t.contentQueries ? t.contentQueries[0] : n.length
, o = [];
for (let i = 0; i < r; i++) {
const s = n.getByIndex(i);
o.push(this.queries[s.indexInDeclarationView].clone())
}
return new ml(o)
}
return null
}
insertView(t) {
this.dirtyQueriesWithMatches(t)
}
detachView(t) {
this.dirtyQueriesWithMatches(t)
}
dirtyQueriesWithMatches(t) {
for (let n = 0; n < this.queries.length; n++)
null !== Dg(t, n).matches && this.queries[n].setDirty()
}
}
class dg {
constructor(t, n, r=null) {
this.predicate = t,
this.flags = n,
this.read = r
}
}
class vl {
constructor(t=[]) {
this.queries = t
}
elementStart(t, n) {
for (let r = 0; r < this.queries.length; r++)
this.queries[r].elementStart(t, n)
}
elementEnd(t) {
for (let n = 0; n < this.queries.length; n++)
this.queries[n].elementEnd(t)
}
embeddedTView(t) {
let n = null;
for (let r = 0; r < this.length; r++) {
const o = null !== n ? n.length : 0
, i = this.getByIndex(r).embeddedTView(t, o);
i && (i.indexInDeclarationView = r,
null !== n ? n.push(i) : n = [i])
}
return null !== n ? new vl(n) : null
}
template(t, n) {
for (let r = 0; r < this.queries.length; r++)
this.queries[r].template(t, n)
}
getByIndex(t) {
return this.queries[t]
}
get length() {
return this.queries.length
}
track(t) {
this.queries.push(t)
}
}
class yl {
constructor(t, n=-1) {
this.metadata = t,
this.matches = null,
this.indexInDeclarationView = -1,
this.crossesNgTemplate = !1,
this._appliesToNextNode = !0,
this._declarationNodeIndex = n
}
elementStart(t, n) {
this.isApplyingToNode(n) && this.matchTNode(t, n)
}
elementEnd(t) {
this._declarationNodeIndex === t.index && (this._appliesToNextNode = !1)
}
template(t, n) {
this.elementStart(t, n)
}
embeddedTView(t, n) {
return this.isApplyingToNode(t) ? (this.crossesNgTemplate = !0,
this.addMatch(-t.index, n),
new yl(this.metadata)) : null
}
isApplyingToNode(t) {
if (this._appliesToNextNode && 1 != (1 & this.metadata.flags)) {
const n = this._declarationNodeIndex;
let r = t.parent;
for (; null !== r && 8 & r.type && r.index !== n; )
r = r.parent;
return n === (null !== r ? r.index : -1)
}
return this._appliesToNextNode
}
matchTNode(t, n) {
const r = this.metadata.predicate;
if (Array.isArray(r))
for (let o = 0; o < r.length; o++) {
const i = r[o];
this.matchTNodeWithReadOption(t, n, h_(n, i)),
this.matchTNodeWithReadOption(t, n, xi(n, t, i, !1, !1))
}
else
r === ra ? 4 & n.type && this.matchTNodeWithReadOption(t, n, -1) : this.matchTNodeWithReadOption(t, n, xi(n, t, r, !1, !1))
}
matchTNodeWithReadOption(t, n, r) {
if (null !== r) {
const o = this.metadata.read;
if (null !== o)
if (o === Vs || o === hc || o === ra && 4 & n.type)
this.addMatch(n.index, -2);
else {
const i = xi(n, t, o, !1, !1);
null !== i && this.addMatch(n.index, i)
}
else
this.addMatch(n.index, r)
}
}
addMatch(t, n) {
null === this.matches ? this.matches = [t, n] : this.matches.push(t, n)
}
}
function h_(e, t) {
const n = e.localNames;
if (null !== n)
for (let r = 0; r < n.length; r += 2)
if (n[r] === t)
return n[r + 1];
return null
}
function g_(e, t, n, r) {
return -1 === n ? function p_(e, t) {
return 11 & e.type ? Fi(e, t) : 4 & e.type ? fc(e, t) : null
}(t, e) : -2 === n ? function m_(e, t, n) {
return n === Vs ? Fi(t, e) : n === ra ? fc(t, e) : n === hc ? lg(t, e) : void 0
}(e, t, r) : Rr(e, e[1], n, t)
}
function fg(e, t, n, r) {
const o = t[19].queries[r];
if (null === o.matches) {
const i = e.data
, s = n.matches
, l = [];
for (let p = 0; p < s.length; p += 2) {
const v = s[p];
l.push(v < 0 ? null : g_(t, i[v], s[p + 1], n.metadata.read))
}
o.matches = l
}
return o.matches
}
function Dl(e, t, n, r) {
const o = e.queries.getByIndex(n)
, i = o.matches;
if (null !== i) {
const s = fg(e, t, o, n);
for (let l = 0; l < i.length; l += 2) {
const p = i[l];
if (p > 0)
r.push(s[l / 2]);
else {
const v = i[l + 1]
, E = t[-p];
for (let I = 10; I < E.length; I++) {
const k = E[I];
k[17] === k[3] && Dl(k[1], k, v, r)
}
if (null !== E[9]) {
const I = E[9];
for (let k = 0; k < I.length; k++) {
const ee = I[k];
Dl(ee[1], ee, v, r)
}
}
}
}
}
return r
}
function hg(e) {
const t = we()
, n = pt()
, r = Di();
go(r + 1);
const o = Dg(n, r);
if (e.dirty && function cs(e) {
return 4 == (4 & e[2])
}(t) === (2 == (2 & o.metadata.flags))) {
if (null === o.matches)
e.reset([]);
else {
const i = o.crossesNgTemplate ? Dl(n, t, r, []) : fg(n, t, o, r);
e.reset(i, ry),
e.notifyOnChanges()
}
return !0
}
return !1
}
function pg(e, t, n) {
const r = pt();
r.firstCreatePass && (yg(r, new dg(e,t,n), -1),
2 == (2 & t) && (r.staticViewQueries = !0)),
vg(r, we(), t)
}
function gg(e, t, n, r) {
const o = pt();
if (o.firstCreatePass) {
const i = Wt();
yg(o, new dg(t,n,r), i.index),
function y_(e, t) {
const n = e.contentQueries || (e.contentQueries = []);
t !== (n.length ? n[n.length - 1] : -1) && n.push(e.queries.length - 1, t)
}(o, e),
2 == (2 & n) && (o.staticContentQueries = !0)
}
vg(o, we(), n)
}
function mg() {
return function v_(e, t) {
return e[19].queries[t].queryList
}(we(), Di())
}
function vg(e, t, n) {
const r = new hl(4 == (4 & n));
Gf(e, t, r, r.destroy),
null === t[19] && (t[19] = new ml),
t[19].queries.push(new gl(r))
}
function yg(e, t, n) {
null === e.queries && (e.queries = new vl),
e.queries.track(new yl(t,n))
}
function Dg(e, t) {
return e.queries.getByIndex(t)
}
function gc(...e) {}
const Ug = new St("Application Initializer");
let mc = ( () => {
class e {
constructor(n) {
this.appInits = n,
this.resolve = gc,
this.reject = gc,
this.initialized = !1,
this.done = !1,
this.donePromise = new Promise( (r, o) => {
this.resolve = r,
this.reject = o
}
)
}
runInitializers() {
if (this.initialized)
return;
const n = []
, r = () => {
this.done = !0,
this.resolve()
}
;
if (this.appInits)
for (let o = 0; o < this.appInits.length; o++) {
const i = this.appInits[o]();
if (Yu(i))
n.push(i);
else if (_h(i)) {
const s = new Promise( (l, p) => {
i.subscribe({
complete: l,
error: p
})
}
);
n.push(s)
}
}
Promise.all(n).then( () => {
r()
}
).catch(o => {
this.reject(o)
}
),
0 === n.length && r(),
this.initialized = !0
}
}
return e.\u0275fac = function(n) {
return new (n || e)(nn(Ug, 8))
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac,
providedIn: "root"
}),
e
}
)();
const Bg = new St("AppId",{
providedIn: "root",
factory: function jg() {
return `${bl()}${bl()}${bl()}`
}
});
function bl() {
return String.fromCharCode(97 + Math.floor(25 * Math.random()))
}
const Hg = new St("Platform Initializer")
, B_ = new St("Platform ID",{
providedIn: "platform",
factory: () => "unknown"
})
, $g = new St("appBootstrapListener");
let j_ = ( () => {
class e {
log(n) {
console.log(n)
}
warn(n) {
console.warn(n)
}
}
return e.\u0275fac = function(n) {
return new (n || e)
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac,
providedIn: "platform"
}),
e
}
)();
const vc = new St("LocaleId",{
providedIn: "root",
factory: () => ed(vc, S.Optional | S.SkipSelf) || function H_() {
return typeof $localize < "u" && $localize.locale || Qi
}()
})
, $_ = new St("DefaultCurrencyCode",{
providedIn: "root",
factory: () => "USD"
});
class V_ {
constructor(t, n) {
this.ngModuleFactory = t,
this.componentFactories = n
}
}
let z_ = ( () => {
class e {
compileModuleSync(n) {
return new ul(n)
}
compileModuleAsync(n) {
return Promise.resolve(this.compileModuleSync(n))
}
compileModuleAndAllComponentsSync(n) {
const r = this.compileModuleSync(n)
, i = Xr(Je(n).declarations).reduce( (s, l) => {
const p = b(l);
return p && s.push(new Ws(p)),
s
}
, []);
return new V_(r,i)
}
compileModuleAndAllComponentsAsync(n) {
return Promise.resolve(this.compileModuleAndAllComponentsSync(n))
}
clearCache() {}
clearCacheFor(n) {}
getModuleId(n) {}
}
return e.\u0275fac = function(n) {
return new (n || e)
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac,
providedIn: "root"
}),
e
}
)();
const K_ = ( () => Promise.resolve(0))();
function Ml(e) {
typeof Zone > "u" ? K_.then( () => {
e && e.apply(null, null)
}
) : Zone.current.scheduleMicroTask("scheduleMicrotask", e)
}
class rr {
constructor({enableLongStackTrace: t=!1, shouldCoalesceEventChangeDetection: n=!1, shouldCoalesceRunChangeDetection: r=!1}) {
if (this.hasPendingMacrotasks = !1,
this.hasPendingMicrotasks = !1,
this.isStable = !0,
this.onUnstable = new Br(!1),
this.onMicrotaskEmpty = new Br(!1),
this.onStable = new Br(!1),
this.onError = new Br(!1),
typeof Zone > "u")
throw new ve(908,!1);
Zone.assertZonePatched();
const o = this;
if (o._nesting = 0,
o._outer = o._inner = Zone.current,
Zone.AsyncStackTaggingZoneSpec) {
const i = Zone.AsyncStackTaggingZoneSpec;
o._inner = o._inner.fork(new i("Angular"))
}
Zone.TaskTrackingZoneSpec && (o._inner = o._inner.fork(new Zone.TaskTrackingZoneSpec)),
t && Zone.longStackTraceZoneSpec && (o._inner = o._inner.fork(Zone.longStackTraceZoneSpec)),
o.shouldCoalesceEventChangeDetection = !r && n,
o.shouldCoalesceRunChangeDetection = r,
o.lastRequestAnimationFrameId = -1,
o.nativeRequestAnimationFrame = function Y_() {
let e = Ke.requestAnimationFrame
, t = Ke.cancelAnimationFrame;
if (typeof Zone < "u" && e && t) {
const n = e[Zone.__symbol__("OriginalDelegate")];
n && (e = n);
const r = t[Zone.__symbol__("OriginalDelegate")];
r && (t = r)
}
return {
nativeRequestAnimationFrame: e,
nativeCancelAnimationFrame: t
}
}().nativeRequestAnimationFrame,
function Q_(e) {
const t = () => {
!function J_(e) {
e.isCheckStableRunning || -1 !== e.lastRequestAnimationFrameId || (e.lastRequestAnimationFrameId = e.nativeRequestAnimationFrame.call(Ke, () => {
e.fakeTopEventTask || (e.fakeTopEventTask = Zone.root.scheduleEventTask("fakeTopEventTask", () => {
e.lastRequestAnimationFrameId = -1,
Il(e),
e.isCheckStableRunning = !0,
Sl(e),
e.isCheckStableRunning = !1
}
, void 0, () => {}
, () => {}
)),
e.fakeTopEventTask.invoke()
}
),
Il(e))
}(e)
}
;
e._inner = e._inner.fork({
name: "angular",
properties: {
isAngularZone: !0
},
onInvokeTask: (n, r, o, i, s, l) => {
try {
return Gg(e),
n.invokeTask(o, i, s, l)
} finally {
(e.shouldCoalesceEventChangeDetection && "eventTask" === i.type || e.shouldCoalesceRunChangeDetection) && t(),
Wg(e)
}
}
,
onInvoke: (n, r, o, i, s, l, p) => {
try {
return Gg(e),
n.invoke(o, i, s, l, p)
} finally {
e.shouldCoalesceRunChangeDetection && t(),
Wg(e)
}
}
,
onHasTask: (n, r, o, i) => {
n.hasTask(o, i),
r === o && ("microTask" == i.change ? (e._hasPendingMicrotasks = i.microTask,
Il(e),
Sl(e)) : "macroTask" == i.change && (e.hasPendingMacrotasks = i.macroTask))
}
,
onHandleError: (n, r, o, i) => (n.handleError(o, i),
e.runOutsideAngular( () => e.onError.emit(i)),
!1)
})
}(o)
}
static isInAngularZone() {
return typeof Zone < "u" && !0 === Zone.current.get("isAngularZone")
}
static assertInAngularZone() {
if (!rr.isInAngularZone())
throw new ve(909,!1)
}
static assertNotInAngularZone() {
if (rr.isInAngularZone())
throw new ve(909,!1)
}
run(t, n, r) {
return this._inner.run(t, n, r)
}
runTask(t, n, r, o) {
const i = this._inner
, s = i.scheduleEventTask("NgZoneEvent: " + o, t, Z_, gc, gc);
try {
return i.runTask(s, n, r)
} finally {
i.cancelTask(s)
}
}
runGuarded(t, n, r) {
return this._inner.runGuarded(t, n, r)
}
runOutsideAngular(t) {
return this._outer.run(t)
}
}
const Z_ = {};
function Sl(e) {
if (0 == e._nesting && !e.hasPendingMicrotasks && !e.isStable)
try {
e._nesting++,
e.onMicrotaskEmpty.emit(null)
} finally {
if (e._nesting--,
!e.hasPendingMicrotasks)
try {
e.runOutsideAngular( () => e.onStable.emit(null))
} finally {
e.isStable = !0
}
}
}
function Il(e) {
e.hasPendingMicrotasks = !!(e._hasPendingMicrotasks || (e.shouldCoalesceEventChangeDetection || e.shouldCoalesceRunChangeDetection) && -1 !== e.lastRequestAnimationFrameId)
}
function Gg(e) {
e._nesting++,
e.isStable && (e.isStable = !1,
e.onUnstable.emit(null))
}
function Wg(e) {
e._nesting--,
Sl(e)
}
class q_ {
constructor() {
this.hasPendingMicrotasks = !1,
this.hasPendingMacrotasks = !1,
this.isStable = !0,
this.onUnstable = new Br,
this.onMicrotaskEmpty = new Br,
this.onStable = new Br,
this.onError = new Br
}
run(t, n, r) {
return t.apply(n, r)
}
runGuarded(t, n, r) {
return t.apply(n, r)
}
runOutsideAngular(t) {
return t()
}
runTask(t, n, r, o) {
return t.apply(n, r)
}
}
const Kg = new St("")
, Yg = new St("");
let xl, X_ = ( () => {
class e {
constructor(n, r, o) {
this._ngZone = n,
this.registry = r,
this._pendingCount = 0,
this._isZoneStable = !0,
this._didWork = !1,
this._callbacks = [],
this.taskTrackingZone = null,
xl || (function eE(e) {
xl = e
}(o),
o.addToWindow(r)),
this._watchAngularEvents(),
n.run( () => {
this.taskTrackingZone = typeof Zone > "u" ? null : Zone.current.get("TaskTrackingZone")
}
)
}
_watchAngularEvents() {
this._ngZone.onUnstable.subscribe({
next: () => {
this._didWork = !0,
this._isZoneStable = !1
}
}),
this._ngZone.runOutsideAngular( () => {
this._ngZone.onStable.subscribe({
next: () => {
rr.assertNotInAngularZone(),
Ml( () => {
this._isZoneStable = !0,
this._runCallbacksIfReady()
}
)
}
})
}
)
}
increasePendingRequestCount() {
return this._pendingCount += 1,
this._didWork = !0,
this._pendingCount
}
decreasePendingRequestCount() {
if (this._pendingCount -= 1,
this._pendingCount < 0)
throw new Error("pending async requests below zero");
return this._runCallbacksIfReady(),
this._pendingCount
}
isStable() {
return this._isZoneStable && 0 === this._pendingCount && !this._ngZone.hasPendingMacrotasks
}
_runCallbacksIfReady() {
if (this.isStable())
Ml( () => {
for (; 0 !== this._callbacks.length; ) {
let n = this._callbacks.pop();
clearTimeout(n.timeoutId),
n.doneCb(this._didWork)
}
this._didWork = !1
}
);
else {
let n = this.getPendingTasks();
this._callbacks = this._callbacks.filter(r => !r.updateCb || !r.updateCb(n) || (clearTimeout(r.timeoutId),
!1)),
this._didWork = !0
}
}
getPendingTasks() {
return this.taskTrackingZone ? this.taskTrackingZone.macroTasks.map(n => ({
source: n.source,
creationLocation: n.creationLocation,
data: n.data
})) : []
}
addCallback(n, r, o) {
let i = -1;
r && r > 0 && (i = setTimeout( () => {
this._callbacks = this._callbacks.filter(s => s.timeoutId !== i),
n(this._didWork, this.getPendingTasks())
}
, r)),
this._callbacks.push({
doneCb: n,
timeoutId: i,
updateCb: o
})
}
whenStable(n, r, o) {
if (o && !this.taskTrackingZone)
throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');
this.addCallback(n, r, o),
this._runCallbacksIfReady()
}
getPendingRequestCount() {
return this._pendingCount
}
registerApplication(n) {
this.registry.registerApplication(n, this)
}
unregisterApplication(n) {
this.registry.unregisterApplication(n)
}
findProviders(n, r, o) {
return []
}
}
return e.\u0275fac = function(n) {
return new (n || e)(nn(rr),nn(Zg),nn(Yg))
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac
}),
e
}
)(), Zg = ( () => {
class e {
constructor() {
this._applications = new Map
}
registerApplication(n, r) {
this._applications.set(n, r)
}
unregisterApplication(n) {
this._applications.delete(n)
}
unregisterAllApplications() {
this._applications.clear()
}
getTestability(n) {
return this._applications.get(n) || null
}
getAllTestabilities() {
return Array.from(this._applications.values())
}
getAllRootElements() {
return Array.from(this._applications.keys())
}
findTestabilityInTree(n, r=!0) {
return xl?.findTestabilityInTree(this, n, r) ?? null
}
}
return e.\u0275fac = function(n) {
return new (n || e)
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac,
providedIn: "platform"
}),
e
}
)(), Io = null;
const Jg = new St("AllowMultipleToken")
, Tl = new St("PlatformDestroyListeners");
class rE {
constructor(t, n) {
this.name = t,
this.token = n
}
}
function qg(e, t, n=[]) {
const r = `Platform: ${t}`
, o = new St(r);
return (i=[]) => {
let s = Al();
if (!s || s.injector.get(Jg, !1)) {
const l = [...n, ...i, {
provide: o,
useValue: !0
}];
e ? e(l) : function oE(e) {
if (Io && !Io.get(Jg, !1))
throw new ve(400,!1);
Io = e;
const t = e.get(em);
(function Qg(e) {
const t = e.get(Hg, null);
t && t.forEach(n => n())
}
)(e)
}(function Xg(e=[], t) {
return Jo.create({
name: t,
providers: [{
provide: uu,
useValue: "platform"
}, {
provide: Tl,
useValue: new Set([ () => Io = null])
}, ...e]
})
}(l, r))
}
return function sE(e) {
const t = Al();
if (!t)
throw new ve(401,!1);
return t
}()
}
}
function Al() {
return Io?.get(em) ?? null
}
let em = ( () => {
class e {
constructor(n) {
this._injector = n,
this._modules = [],
this._destroyListeners = [],
this._destroyed = !1
}
bootstrapModuleFactory(n, r) {
const o = function nm(e, t) {
let n;
return n = "noop" === e ? new q_ : ("zone.js" === e ? void 0 : e) || new rr(t),
n
}(r?.ngZone, function tm(e) {
return {
enableLongStackTrace: !1,
shouldCoalesceEventChangeDetection: !(!e || !e.ngZoneEventCoalescing) || !1,
shouldCoalesceRunChangeDetection: !(!e || !e.ngZoneRunCoalescing) || !1
}
}(r))
, i = [{
provide: rr,
useValue: o
}];
return o.run( () => {
const s = Jo.create({
providers: i,
parent: this.injector,
name: n.moduleType.name
})
, l = n.create(s)
, p = l.injector.get(zs, null);
if (!p)
throw new ve(402,!1);
return o.runOutsideAngular( () => {
const v = o.onError.subscribe({
next: E => {
p.handleError(E)
}
});
l.onDestroy( () => {
Dc(this._modules, l),
v.unsubscribe()
}
)
}
),
function rm(e, t, n) {
try {
const r = n();
return Yu(r) ? r.catch(o => {
throw t.runOutsideAngular( () => e.handleError(o)),
o
}
) : r
} catch (r) {
throw t.runOutsideAngular( () => e.handleError(r)),
r
}
}(p, o, () => {
const v = l.injector.get(mc);
return v.runInitializers(),
v.donePromise.then( () => (function vp(e) {
ht(e, "Expected localeId to be defined"),
"string" == typeof e && (mp = e.toLowerCase().replace(/_/g, "-"))
}(l.injector.get(vc, Qi) || Qi),
this._moduleDoBootstrap(l),
l))
}
)
}
)
}
bootstrapModule(n, r=[]) {
const o = om({}, r);
return function tE(e, t, n) {
const r = new ul(n);
return Promise.resolve(r)
}(0, 0, n).then(i => this.bootstrapModuleFactory(i, o))
}
_moduleDoBootstrap(n) {
const r = n.injector.get(yc);
if (n._bootstrapComponents.length > 0)
n._bootstrapComponents.forEach(o => r.bootstrap(o));
else {
if (!n.instance.ngDoBootstrap)
throw new ve(403,!1);
n.instance.ngDoBootstrap(r)
}
this._modules.push(n)
}
onDestroy(n) {
this._destroyListeners.push(n)
}
get injector() {
return this._injector
}
destroy() {
if (this._destroyed)
throw new ve(404,!1);
this._modules.slice().forEach(r => r.destroy()),
this._destroyListeners.forEach(r => r());
const n = this._injector.get(Tl, null);
n && (n.forEach(r => r()),
n.clear()),
this._destroyed = !0
}
get destroyed() {
return this._destroyed
}
}
return e.\u0275fac = function(n) {
return new (n || e)(nn(Jo))
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac,
providedIn: "platform"
}),
e
}
)();
function om(e, t) {
return Array.isArray(t) ? t.reduce(om, e) : {
...e,
...t
}
}
let yc = ( () => {
class e {
constructor(n, r, o) {
this._zone = n,
this._injector = r,
this._exceptionHandler = o,
this._bootstrapListeners = [],
this._views = [],
this._runningTick = !1,
this._stable = !0,
this._destroyed = !1,
this._destroyListeners = [],
this.componentTypes = [],
this.components = [],
this._onMicrotaskEmptySubscription = this._zone.onMicrotaskEmpty.subscribe({
next: () => {
this._zone.run( () => {
this.tick()
}
)
}
});
const i = new A.y(l => {
this._stable = this._zone.isStable && !this._zone.hasPendingMacrotasks && !this._zone.hasPendingMicrotasks,
this._zone.runOutsideAngular( () => {
l.next(this._stable),
l.complete()
}
)
}
)
, s = new A.y(l => {
let p;
this._zone.runOutsideAngular( () => {
p = this._zone.onStable.subscribe( () => {
rr.assertNotInAngularZone(),
Ml( () => {
!this._stable && !this._zone.hasPendingMacrotasks && !this._zone.hasPendingMicrotasks && (this._stable = !0,
l.next(!0))
}
)
}
)
}
);
const v = this._zone.onUnstable.subscribe( () => {
rr.assertInAngularZone(),
this._stable && (this._stable = !1,
this._zone.runOutsideAngular( () => {
l.next(!1)
}
))
}
);
return () => {
p.unsubscribe(),
v.unsubscribe()
}
}
);
this.isStable = function te(...e) {
const t = (0,
J.yG)(e)
, n = (0,
J._6)(e, 1 / 0)
, r = e;
return r.length ? 1 === r.length ? (0,
U.Xf)(r[0]) : (0,
G.J)(n)((0,
q.D)(r, t)) : le.E
}(i, s.pipe(function P(e={}) {
const {connector: t=( () => new h.x), resetOnError: n=!0, resetOnComplete: r=!0, resetOnRefCountZero: o=!0} = e;
return i => {
let s, l, p, v = 0, E = !1, I = !1;
const k = () => {
l?.unsubscribe(),
l = void 0
}
, ee = () => {
k(),
s = p = void 0,
E = I = !1
}
, ye = () => {
const Ie = s;
ee(),
Ie?.unsubscribe()
}
;
return (0,
X.e)( (Ie, ke) => {
v++,
!I && !E && k();
const ze = p = p ?? t();
ke.add( () => {
v--,
0 === v && !I && !E && (l = K(ye, o))
}
),
ze.subscribe(ke),
!s && v > 0 && (s = new R.Hp({
next: Ze => ze.next(Ze),
error: Ze => {
I = !0,
k(),
l = K(ee, n, Ze),
ze.error(Ze)
}
,
complete: () => {
E = !0,
k(),
l = K(ee, r),
ze.complete()
}
}),
(0,
U.Xf)(Ie).subscribe(s))
}
)(i)
}
}()))
}
get destroyed() {
return this._destroyed
}
get injector() {
return this._injector
}
bootstrap(n, r) {
const o = n instanceof rf;
if (!this._injector.get(mc).done)
throw !o && Ye(n),
new ve(405,false);
let s;
s = o ? n : this._injector.get($s).resolveComponentFactory(n),
this.componentTypes.push(s.componentType);
const l = function nE(e) {
return e.isBoundToModule
}(s) ? void 0 : this._injector.get(qi)
, v = s.create(Jo.NULL, [], r || s.selector, l)
, E = v.location.nativeElement
, I = v.injector.get(Kg, null);
return I?.registerApplication(E),
v.onDestroy( () => {
this.detachView(v.hostView),
Dc(this.components, v),
I?.unregisterApplication(E)
}
),
this._loadComponent(v),
v
}
tick() {
if (this._runningTick)
throw new ve(101,!1);
try {
this._runningTick = !0;
for (let n of this._views)
n.detectChanges()
} catch (n) {
this._zone.runOutsideAngular( () => this._exceptionHandler.handleError(n))
} finally {
this._runningTick = !1
}
}
attachView(n) {
const r = n;
this._views.push(r),
r.attachToAppRef(this)
}
detachView(n) {
const r = n;
Dc(this._views, r),
r.detachFromAppRef()
}
_loadComponent(n) {
this.attachView(n.hostView),
this.tick(),
this.components.push(n),
this._injector.get($g, []).concat(this._bootstrapListeners).forEach(o => o(n))
}
ngOnDestroy() {
if (!this._destroyed)
try {
this._destroyListeners.forEach(n => n()),
this._views.slice().forEach(n => n.destroy()),
this._onMicrotaskEmptySubscription.unsubscribe()
} finally {
this._destroyed = !0,
this._views = [],
this._bootstrapListeners = [],
this._destroyListeners = []
}
}
onDestroy(n) {
return this._destroyListeners.push(n),
() => Dc(this._destroyListeners, n)
}
destroy() {
if (this._destroyed)
throw new ve(406,!1);
const n = this._injector;
n.destroy && !n.destroyed && n.destroy()
}
get viewCount() {
return this._views.length
}
warnIfDestroyed() {}
}
return e.\u0275fac = function(n) {
return new (n || e)(nn(rr),nn(Zo),nn(zs))
}
,
e.\u0275prov = it({
token: e,
factory: e.\u0275fac,
providedIn: "root"
}),
e
}
)();
function Dc(e, t) {
const n = e.indexOf(t);
n > -1 && e.splice(n, 1)
}
let sm = !0;
function cE() {
sm = !1
}
let uE = ( () => {
class e {
}
return e.__NG_ELEMENT_ID__ = lE,
e
}
)();
function lE(e) {
return function dE(e, t, n) {
if (cn(e) && !n) {
const r = fn(e.index, t);
return new Gs(r,r)
}
return 47 & e.type ? new Gs(t[16],t) : null
}(Wt(), we(), 16 == (16 & e))
}
class dm {
constructor() {}
supports(t) {
return Ks(t)
}
create(t) {
return new vE(t)
}
}
const mE = (e, t) => t;
class vE {
constructor(t) {
this.length = 0,
this._linkedRecords = null,
this._unlinkedRecords = null,
this._previousItHead = null,
this._itHead = null,
this._itTail = null,
this._additionsHead = null,
this._additionsTail = null,
this._movesHead = null,
this._movesTail = null,
this._removalsHead = null,
this._removalsTail = null,
this._identityChangesHead = null,
this._identityChangesTail = null,
this._trackByFn = t || mE
}
forEachItem(t) {
let n;
for (n = this._itHead; null !== n; n = n._next)
t(n)
}
forEachOperation(t) {
let n = this._itHead
, r = this._removalsHead
, o = 0
, i = null;
for (; n || r; ) {
const s = !r || n && n.currentIndex < hm(r, o, i) ? n : r
, l = hm(s, o, i)
, p = s.currentIndex;
if (s === r)
o--,
r = r._nextRemoved;
else if (n = n._next,
null == s.previousIndex)
o++;
else {
i || (i = []);
const v = l - o
, E = p - o;
if (v != E) {
for (let k = 0; k < v; k++) {
const ee = k < i.length ? i[k] : i[k] = 0
, ye = ee + k;
E <= ye && ye < v && (i[k] = ee + 1)
}
i[s.previousIndex] = E - v
}
}
l !== p && t(s, l, p)
}
}
forEachPreviousItem(t) {
let n;
for (n = this._previousItHead; null !== n; n = n._nextPrevious)
t(n)
}
forEachAddedItem(t) {
let n;
for (n = this._additionsHead; null !== n; n = n._nextAdded)
t(n)
}
forEachMovedItem(t) {
let n;
for (n = this._movesHead; null !== n; n = n._nextMoved)
t(n)
}
forEachRemovedItem(t) {
let n;
for (n = this._removalsHead; null !== n; n = n._nextRemoved)
t(n)
}
forEachIdentityChange(t) {
let n;
for (n = this._identityChangesHead; null !== n; n = n._nextIdentityChange)
t(n)
}
diff(t) {
if (null == t && (t = []),
!Ks(t))
throw new ve(900,!1);
return this.check(t) ? this : null
}
onDestroy() {}
check(t) {
this._reset();
let o, i, s, n = this._itHead, r = !1;
if (Array.isArray(t)) {
this.length = t.length;
for (let l = 0; l < this.length; l++)
i = t[l],
s = this._trackByFn(l, i),
null !== n && Object.is(n.trackById, s) ? (r && (n = this._verifyReinsertion(n, i, s, l)),
Object.is(n.item, i) || this._addIdentityChange(n, i)) : (n = this._mismatch(n, i, s, l),
r = !0),
n = n._next
} else
o = 0,
function H0(e, t) {
if (Array.isArray(e))
for (let n = 0; n < e.length; n++)
t(e[n]);
else {
const n = e[Qo()]();
let r;
for (; !(r = n.next()).done; )
t(r.value)
}
}(t, l => {
s = this._trackByFn(o, l),
null !== n && Object.is(n.trackById, s) ? (r && (n = this._verifyReinsertion(n, l, s, o)),
Object.is(n.item, l) || this._addIdentityChange(n, l)) : (n = this._mismatch(n, l, s, o),
r = !0),
n = n._next,
o++
}
),
this.length = o;
return this._truncate(n),
this.collection = t,
this.isDirty
}
get isDirty() {
return null !== this._additionsHead || null !== this._movesHead || null !== this._removalsHead || null !== this._identityChangesHead
}
_reset() {
if (this.isDirty) {
let t;
for (t = this._previousItHead = this._itHead; null !== t; t = t._next)
t._nextPrevious = t._next;
for (t = this._additionsHead; null !== t; t = t._nextAdded)
t.previousIndex = t.currentIndex;
for (this._additionsHead = this._additionsTail = null,
t = this._movesHead; null !== t; t = t._nextMoved)
t.previousIndex = t.currentIndex;
this._movesHead = this._movesTail = null,
this._removalsHead = this._removalsTail = null,
this._identityChangesHead = this._identityChangesTail = null
}
}
_mismatch(t, n, r, o) {
let i;
return null === t ? i = this._itTail : (i = t._prev,
this._remove(t)),
null !== (t = null === this._unlinkedRecords ? null : this._unlinkedRecords.get(r, null)) ? (Object.is(t.item, n) || this._addIdentityChange(t, n),
this._reinsertAfter(t, i, o)) : null !== (t = null === this._linkedRecords ? null : this._linkedRecords.get(r, o)) ? (Object.is(t.item, n) || this._addIdentityChange(t, n),
this._moveAfter(t, i, o)) : t = this._addAfter(new yE(n,r), i, o),
t
}
_verifyReinsertion(t, n, r, o) {
let i = null === this._unlinkedRecords ? null : this._unlinkedRecords.get(r, null);
return null !== i ? t = this._reinsertAfter(i, t._prev, o) : t.currentIndex != o && (t.currentIndex = o,
this._addToMoves(t, o)),
t
}
_truncate(t) {
for (; null !== t; ) {
const n = t._next;
this._addToRemovals(this._unlink(t)),
t = n
}
null !== this._unlinkedRecords && this._unlinkedRecords.clear(),
null !== this._additionsTail && (this._additionsTail._nextAdded = null),
null !== this._movesTail && (this._movesTail._nextMoved = null),
null !== this._itTail && (this._itTail._next = null),
null !== this._removalsTail && (this._removalsTail._nextRemoved = null),
null !== this._identityChangesTail && (this._identityChangesTail._nextIdentityChange = null)
}
_reinsertAfter(t, n, r) {
null !== this._unlinkedRecords && this._unlinkedRecords.remove(t);
const o = t._prevRemoved
, i = t._nextRemoved;
return null === o ? this._removalsHead = i : o._nextRemoved = i,
null === i ? this._removalsTail = o : i._prevRemoved = o,
this._insertAfter(t, n, r),
this._addToMoves(t, r),
t
}
_moveAfter(t, n, r) {
return this._unlink(t),
this._insertAfter(t, n, r),
this._addToMoves(t, r),
t
}
_addAfter(t, n, r) {
return this._insertAfter(t, n, r),
this._additionsTail = null === this._additionsTail ? this._additionsHead = t : this._additionsTail._nextAdded = t,
t
}
_insertAfter(t, n, r) {
const o = null === n ? this._itHead : n._next;
return t._next = o,
t._prev = n,
null === o ? this._itTail = t : o._prev = t,
null === n ? this._itHead = t : n._next = t,
null === this._linkedRecords && (this._linkedRecords = new fm),
this._linkedRecords.put(t),
t.currentIndex = r,
t
}
_remove(t) {
return this._addToRemovals(this._unlink(t))
}
_unlink(t) {
null !== this._linkedRecords && this._linkedRecords.remove(t);
const n = t._prev
, r = t._next;
return null === n ? this._itHead = r : n._next = r,
null === r ? this._itTail = n : r._prev = n,
t
}
_addToMoves(t, n) {
return t.previousIndex === n || (this._movesTail = null === this._movesTail ? this._movesHead = t : this._movesTail._nextMoved = t),
t
}
_addToRemovals(t) {
return null === this._unlinkedRecords && (this._unlinkedRecords = new fm),
this._unlinkedRecords.put(t),
t.currentIndex = null,
t._nextRemoved = null,
null === this._removalsTail ? (this._removalsTail = this._removalsHead = t,
t._prevRemoved = null) : (t._prevRemoved = this._removalsTail,
this._removalsTail = this._removalsTail._nextRemoved = t),
t
}
_addIdentityChange(t, n) {
return t.item = n,
this._identityChangesTail = null === this._identityChangesTail ? this._identityChangesHead = t : this._identityChangesTail._nextIdentityChange = t,
t
}
}
class yE {
constructor(t, n) {
this.item = t,
this.trackById = n,
this.currentIndex = null,
this.previousIndex = null,
this._nextPrevious = null,
this._prev = null,
this._next = null,
this._prevDup = null,
this._nextDup = null,
this._prevRemoved = null,
this._nextRemoved = null,
this._nextAdded = null,
this._nextMoved = null,
this._nextIdentityChange = null
}
}
class DE {
constructor() {
this._head = null,
this._tail = null
}
add(t) {
null === this._head ? (this._head = this._tail = t,
t._nextDup = null,
t._prevDup = null) : (this._tail._nextDup = t,
t._prevDup = this._tail,
t._nextDup = null,
this._tail = t)
}
get(t, n) {
let r;
for (r = this._head; null !== r; r = r._nextDup)
if ((null === n || n <= r.currentIndex) && Object.is(r.trackById, t))
return r;
return null
}
remove(t) {
const n = t._prevDup
, r = t._nextDup;
return null === n ? this._head = r : n._nextDup = r,
null === r ? this._tail = n : r._prevDup = n,
null === this._head
}
}
class fm {
constructor() {
this.map = new Map
}
put(t) {
const n = t.trackById;
let r = this.map.get(n);
r || (r = new DE,
this.map.set(n, r)),
r.add(t)
}
get(t, n) {
const o = this.map.get(t);
return o ? o.get(t, n) : null
}
remove(t) {
const n = t.trackById;
return this.map.get(n).remove(t) && this.map.delete(n),
t
}
get isEmpty() {
return 0 === this.map.size
}
clear() {
this.map.clear()
}
}
function hm(e, t, n) {
const r = e.previousIndex;
if (null === r)
return r;
let o = 0;
return n && r < n.length && (o = n[r]),
r + t + o
}
class pm {
constructor() {}
supports(t) {
return t instanceof Map || Vu(t)
}
create() {
return new CE
}
}
class CE {
constructor() {
this._records = new Map,
this._mapHead = null,
this._appendAfter = null,
this._previousMapHead = null,
this._changesHead = null,
this._changesTail = null,
this._additionsHead = null,
this._additionsTail = null,
this._removalsHead = null,
this._removalsTail = null
}
get isDirty() {
return null !== this._additionsHead || null !== this._changesHead || null !== this._removalsHead
}
forEachItem(t) {
let n;
for (n = this._mapHead; null !== n; n = n._next)
t(n)
}
forEachPreviousItem(t) {
let n;
for (n = this._previousMapHead; null !== n; n = n._nextPrevious)
t(n)
}
forEachChangedItem(t) {
let n;
for (n = this._changesHead; null !== n; n = n._nextChanged)
t(n)
}
forEachAddedItem(t) {
let n;
for (n = this._additionsHead; null !== n; n = n._nextAdded)
t(n)
}
forEachRemovedItem(t) {
let n;
for (n = this._removalsHead; null !== n; n = n._nextRemoved)
t(n)
}
diff(t) {
if (t) {
if (!(t instanceof Map || Vu(t)))
throw new ve(900,!1)
} else
t = new Map;
return this.check(t) ? this : null
}
onDestroy() {}
check(t) {
this._reset();
let n = this._mapHead;
if (this._appendAfter = null,
this._forEach(t, (r, o) => {
if (n && n.key === o)
this._maybeAddToChanges(n, r),
this._appendAfter = n,
n = n._next;
else {
const i = this._getOrCreateRecordForKey(o, r);
n = this._insertBeforeOrAppend(n, i)
}
}
),
n) {
n._prev && (n._prev._next = null),
this._removalsHead = n;
for (let r = n; null !== r; r = r._nextRemoved)
r === this._mapHead && (this._mapHead = null),
this._records.delete(r.key),
r._nextRemoved = r._next,
r.previousValue = r.currentValue,
r.currentValue = null,
r._prev = null,
r._next = null
}
return this._changesTail && (this._changesTail._nextChanged = null),
this._additionsTail && (this._additionsTail._nextAdded = null),
this.isDirty
}
_insertBeforeOrAppend(t, n) {
if (t) {
const r = t._prev;
return n._next = t,
n._prev = r,
t._prev = n,
r && (r._next = n),
t === this._mapHead && (this._mapHead = n),
this._appendAfter = t,
t
}
return this._appendAfter ? (this._appendAfter._next = n,
n._prev = this._appendAfter) : this._mapHead = n,
this._appendAfter = n,
null
}
_getOrCreateRecordForKey(t, n) {
if (this._records.has(t)) {
const o = this._records.get(t);
this._maybeAddToChanges(o, n);
const i = o._prev
, s = o._next;
return i && (i._next = s),
s && (s._prev = i),
o._next = null,
o._prev = null,
o
}
const r = new _E(t);
return this._records.set(t, r),
r.currentValue = n,
this._addToAdditions(r),
r
}
_reset() {
if (this.isDirty) {
let t;
for (this._previousMapHead = this._mapHead,
t = this._previousMapHead; null !== t; t = t._next)
t._nextPrevious = t._next;
for (t = this._changesHead; null !== t; t = t._nextChanged)
t.previousValue = t.currentValue;
for (t = this._additionsHead; null != t; t = t._nextAdded)
t.previousValue = t.currentValue;
this._changesHead = this._changesTail = null,
this._additionsHead = this._additionsTail = null,
this._removalsHead = null
}
}
_maybeAddToChanges(t, n) {
Object.is(n, t.currentValue) || (t.previousValue = t.currentValue,
t.currentValue = n,
this._addToChanges(t))
}
_addToAdditions(t) {
null === this._additionsHead ? this._additionsHead = this._additionsTail = t : (this._additionsTail._nextAdded = t,
this._additionsTail = t)
}
_addToChanges(t) {
null === this._changesHead ? this._changesHead = this._changesTail = t : (this._changesTail._nextChanged = t,
this._changesTail = t)
}
_forEach(t, n) {
t instanceof Map ? t.forEach(n) : Object.keys(t).forEach(r => n(t[r], r))
}
}
class _E {
constructor(t) {
this.key = t,
this.previousValue = null,
this.currentValue = null,
this._nextPrevious = null,
this._next = null,
this._prev = null,
this._nextAdded = null,
this._nextRemoved = null,
this._nextChanged = null
}
}
function gm() {
return new Nl([new dm])
}
let Nl = ( () => {
class e {
constructor(n) {
this.factories = n
}
static create(n, r) {
if (null != r) {
const o = r.factories.slice();
n = n.concat(o)
}
return new e(n)
}
static extend(n) {
return {
provide: e,
useFactory: r => e.create(n, r || gm()),
deps: [[e, new Fs, new Rs]]
}
}
find(n) {
const r = this.factories.find(o => o.supports(n));
if (null != r)
return r;
throw new ve(901,!1)
}
}
return e.\u0275prov = it({
token: e,
providedIn: "root",
factory: gm
}),
e
}
)();
function mm() {
return new Ll([new pm])
}
let Ll = ( () => {
class e {
constructor(n) {
this.factories = n
}
static create(n, r) {
if (r) {
const o = r.factories.slice();
n = n.concat(o)
}
return new e(n)
}
static extend(n) {
return {
provide: e,
useFactory: r => e.create(n, r || mm()),
deps: [[e, new Fs, new Rs]]
}
}
find(n) {
const r = this.factories.find(o => o.supports(n));
if (r)
return r;
throw new ve(901,!1)
}
}
return e.\u0275prov = it({
token: e,
providedIn: "root",
factory: mm
}),
e
}
)();
const bE = qg(null, "core", []);
let ME = ( () => {
class e {
constructor(n) {}
}
return e.\u0275fac = function(n) {
return new (n || e)(nn(yc))
}
,
e.\u0275mod = or({
type: e
}),
e.\u0275inj = Ft({}),
e
}
)();
function SE(e) {
return "boolean" == typeof e ? e : null != e && "false" !== e
}
}
,
1481: (Oe, ae, D) => {
"use strict";
D.d(ae, {
Cb: () => Xt,
Dx: () => se,
H7: () => jr,
b2: () => Nn,
h_: () => At,
ki: () => ut,
q6: () => Nt
});
var h = D(6895)
, w = D(8256);
class A extends h.w_ {
constructor() {
super(...arguments),
this.supportsDOMEvents = !0
}
}
class G extends A {
static makeCurrent() {
(0,
h.HT)(new G)
}
onAndCancel($, b, H) {
return $.addEventListener(b, H, !1),
() => {
$.removeEventListener(b, H, !1)
}
}
dispatchEvent($, b) {
$.dispatchEvent(b)
}
remove($) {
$.parentNode && $.parentNode.removeChild($)
}
createElement($, b) {
return (b = b || this.getDefaultDocument()).createElement($)
}
createHtmlDocument() {
return document.implementation.createHTMLDocument("fakeTitle")
}
getDefaultDocument() {
return document
}
isElementNode($) {
return $.nodeType === Node.ELEMENT_NODE
}
isShadowRoot($) {
return $ instanceof DocumentFragment
}
getGlobalEventTarget($, b) {
return "window" === b ? window : "document" === b ? $ : "body" === b ? $.body : null
}
getBaseHref($) {
const b = function le() {
return U = U || document.querySelector("base"),
U ? U.getAttribute("href") : null
}();
return null == b ? null : function q(Y) {
J = J || document.createElement("a"),
J.setAttribute("href", Y);
const $ = J.pathname;
return "/" === $.charAt(0) ? $ : `/${$}`
}(b)
}
resetBaseElement() {
U = null
}
getUserAgent() {
return window.navigator.userAgent
}
getCookie($) {
return (0,
h.Mx)(document.cookie, $)
}
}
let J, U = null;
const te = new w.OlP("TRANSITION_ID")
, X = [{
provide: w.ip1,
useFactory: function R(Y, $, b) {
return () => {
b.get(w.CZH).donePromise.then( () => {
const H = (0,
h.q)()
, he = $.querySelectorAll(`style[ng-transition="${Y}"]`);
for (let Ye = 0; Ye < he.length; Ye++)
H.remove(he[Ye])
}
)
}
},
deps: [te, h.K0, w.zs3],
multi: !0
}];
let K = ( () => {
class Y {
build() {
return new XMLHttpRequest
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)();
const M = new w.OlP("EventManagerPlugins");
let B = ( () => {
class Y {
constructor(b, H) {
this._zone = H,
this._eventNameToPlugin = new Map,
b.forEach(he => he.manager = this),
this._plugins = b.slice().reverse()
}
addEventListener(b, H, he) {
return this._findPluginFor(H).addEventListener(b, H, he)
}
addGlobalEventListener(b, H, he) {
return this._findPluginFor(H).addGlobalEventListener(b, H, he)
}
getZone() {
return this._zone
}
_findPluginFor(b) {
const H = this._eventNameToPlugin.get(b);
if (H)
return H;
const he = this._plugins;
for (let Ye = 0; Ye < he.length; Ye++) {
const Je = he[Ye];
if (Je.supports(b))
return this._eventNameToPlugin.set(b, Je),
Je
}
throw new Error(`No event manager plugin found for event ${b}`)
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(M),w.LFG(w.R0b))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)();
class ne {
constructor($) {
this._doc = $
}
addGlobalEventListener($, b, H) {
const he = (0,
h.q)().getGlobalEventTarget(this._doc, $);
if (!he)
throw new Error(`Unsupported event target ${he} for event ${b}`);
return this.addEventListener(he, b, H)
}
}
let Pe = ( () => {
class Y {
constructor() {
this._stylesSet = new Set
}
addStyles(b) {
const H = new Set;
b.forEach(he => {
this._stylesSet.has(he) || (this._stylesSet.add(he),
H.add(he))
}
),
this.onStylesAdded(H)
}
onStylesAdded(b) {}
getAllStyles() {
return Array.from(this._stylesSet)
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)()
, Se = ( () => {
class Y extends Pe {
constructor(b) {
super(),
this._doc = b,
this._hostNodes = new Map,
this._hostNodes.set(b.head, [])
}
_addStylesToHost(b, H, he) {
b.forEach(Ye => {
const Je = this._doc.createElement("style");
Je.textContent = Ye,
he.push(H.appendChild(Je))
}
)
}
addHost(b) {
const H = [];
this._addStylesToHost(this._stylesSet, b, H),
this._hostNodes.set(b, H)
}
removeHost(b) {
const H = this._hostNodes.get(b);
H && H.forEach(xe),
this._hostNodes.delete(b)
}
onStylesAdded(b) {
this._hostNodes.forEach( (H, he) => {
this._addStylesToHost(b, he, H)
}
)
}
ngOnDestroy() {
this._hostNodes.forEach(b => b.forEach(xe))
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(h.K0))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)();
function xe(Y) {
(0,
h.q)().remove(Y)
}
const oe = {
svg: "http://www.w3.org/2000/svg",
xhtml: "http://www.w3.org/1999/xhtml",
xlink: "http://www.w3.org/1999/xlink",
xml: "http://www.w3.org/XML/1998/namespace",
xmlns: "http://www.w3.org/2000/xmlns/",
math: "http://www.w3.org/1998/MathML/"
}
, De = /%COMP%/g;
function pe(Y, $, b) {
for (let H = 0; H < $.length; H++) {
let he = $[H];
Array.isArray(he) ? pe(Y, he, b) : (he = he.replace(De, Y),
b.push(he))
}
return b
}
function L(Y) {
return $ => {
if ("__ngUnwrap__" === $)
return Y;
!1 === Y($) && ($.preventDefault(),
$.returnValue = !1)
}
}
let N = ( () => {
class Y {
constructor(b, H, he) {
this.eventManager = b,
this.sharedStylesHost = H,
this.appId = he,
this.rendererByCompId = new Map,
this.defaultRenderer = new Re(b)
}
createRenderer(b, H) {
if (!b || !H)
return this.defaultRenderer;
switch (H.encapsulation) {
case w.ifc.Emulated:
{
let he = this.rendererByCompId.get(H.id);
return he || (he = new W(this.eventManager,this.sharedStylesHost,H,this.appId),
this.rendererByCompId.set(H.id, he)),
he.applyToHost(b),
he
}
case 1:
case w.ifc.ShadowDom:
return new j(this.eventManager,this.sharedStylesHost,b,H);
default:
if (!this.rendererByCompId.has(H.id)) {
const he = pe(H.id, H.styles, []);
this.sharedStylesHost.addStyles(he),
this.rendererByCompId.set(H.id, this.defaultRenderer)
}
return this.defaultRenderer
}
}
begin() {}
end() {}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(B),w.LFG(Se),w.LFG(w.AFp))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)();
class Re {
constructor($) {
this.eventManager = $,
this.data = Object.create(null),
this.destroyNode = null
}
destroy() {}
createElement($, b) {
return b ? document.createElementNS(oe[b] || b, $) : document.createElement($)
}
createComment($) {
return document.createComment($)
}
createText($) {
return document.createTextNode($)
}
appendChild($, b) {
(Le($) ? $.content : $).appendChild(b)
}
insertBefore($, b, H) {
$ && (Le($) ? $.content : $).insertBefore(b, H)
}
removeChild($, b) {
$ && $.removeChild(b)
}
selectRootElement($, b) {
let H = "string" == typeof $ ? document.querySelector($) : $;
if (!H)
throw new Error(`The selector "${$}" did not match any elements`);
return b || (H.textContent = ""),
H
}
parentNode($) {
return $.parentNode
}
nextSibling($) {
return $.nextSibling
}
setAttribute($, b, H, he) {
if (he) {
b = he + ":" + b;
const Ye = oe[he];
Ye ? $.setAttributeNS(Ye, b, H) : $.setAttribute(b, H)
} else
$.setAttribute(b, H)
}
removeAttribute($, b, H) {
if (H) {
const he = oe[H];
he ? $.removeAttributeNS(he, b) : $.removeAttribute(`${H}:${b}`)
} else
$.removeAttribute(b)
}
addClass($, b) {
$.classList.add(b)
}
removeClass($, b) {
$.classList.remove(b)
}
setStyle($, b, H, he) {
he & (w.JOm.DashCase | w.JOm.Important) ? $.style.setProperty(b, H, he & w.JOm.Important ? "important" : "") : $.style[b] = H
}
removeStyle($, b, H) {
H & w.JOm.DashCase ? $.style.removeProperty(b) : $.style[b] = ""
}
setProperty($, b, H) {
$[b] = H
}
setValue($, b) {
$.nodeValue = b
}
listen($, b, H) {
return "string" == typeof $ ? this.eventManager.addGlobalEventListener($, b, L(H)) : this.eventManager.addEventListener($, b, L(H))
}
}
function Le(Y) {
return "TEMPLATE" === Y.tagName && void 0 !== Y.content
}
class W extends Re {
constructor($, b, H, he) {
super($),
this.component = H;
const Ye = pe(he + "-" + H.id, H.styles, []);
b.addStyles(Ye),
this.contentAttr = function Z(Y) {
return "_ngcontent-%COMP%".replace(De, Y)
}(he + "-" + H.id),
this.hostAttr = function z(Y) {
return "_nghost-%COMP%".replace(De, Y)
}(he + "-" + H.id)
}
applyToHost($) {
super.setAttribute($, this.hostAttr, "")
}
createElement($, b) {
const H = super.createElement($, b);
return super.setAttribute(H, this.contentAttr, ""),
H
}
}
class j extends Re {
constructor($, b, H, he) {
super($),
this.sharedStylesHost = b,
this.hostEl = H,
this.shadowRoot = H.attachShadow({
mode: "open"
}),
this.sharedStylesHost.addHost(this.shadowRoot);
const Ye = pe(he.id, he.styles, []);
for (let Je = 0; Je < Ye.length; Je++) {
const gt = document.createElement("style");
gt.textContent = Ye[Je],
this.shadowRoot.appendChild(gt)
}
}
nodeOrShadowRoot($) {
return $ === this.hostEl ? this.shadowRoot : $
}
destroy() {
this.sharedStylesHost.removeHost(this.shadowRoot)
}
appendChild($, b) {
return super.appendChild(this.nodeOrShadowRoot($), b)
}
insertBefore($, b, H) {
return super.insertBefore(this.nodeOrShadowRoot($), b, H)
}
removeChild($, b) {
return super.removeChild(this.nodeOrShadowRoot($), b)
}
parentNode($) {
return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot($)))
}
}
let re = ( () => {
class Y extends ne {
constructor(b) {
super(b)
}
supports(b) {
return !0
}
addEventListener(b, H, he) {
return b.addEventListener(H, he, !1),
() => this.removeEventListener(b, H, he)
}
removeEventListener(b, H, he) {
return b.removeEventListener(H, he)
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(h.K0))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)();
const ce = ["alt", "control", "meta", "shift"]
, Me = {
"\b": "Backspace",
"\t": "Tab",
"\x7f": "Delete",
"\x1b": "Escape",
Del: "Delete",
Esc: "Escape",
Left: "ArrowLeft",
Right: "ArrowRight",
Up: "ArrowUp",
Down: "ArrowDown",
Menu: "ContextMenu",
Scroll: "ScrollLock",
Win: "OS"
}
, Ee = {
alt: Y => Y.altKey,
control: Y => Y.ctrlKey,
meta: Y => Y.metaKey,
shift: Y => Y.shiftKey
};
let He = ( () => {
class Y extends ne {
constructor(b) {
super(b)
}
supports(b) {
return null != Y.parseEventName(b)
}
addEventListener(b, H, he) {
const Ye = Y.parseEventName(H)
, Je = Y.eventCallback(Ye.fullKey, he, this.manager.getZone());
return this.manager.getZone().runOutsideAngular( () => (0,
h.q)().onAndCancel(b, Ye.domEventName, Je))
}
static parseEventName(b) {
const H = b.toLowerCase().split(".")
, he = H.shift();
if (0 === H.length || "keydown" !== he && "keyup" !== he)
return null;
const Ye = Y._normalizeKey(H.pop());
let Je = ""
, gt = H.indexOf("code");
if (gt > -1 && (H.splice(gt, 1),
Je = "code."),
ce.forEach(nt => {
const wt = H.indexOf(nt);
wt > -1 && (H.splice(wt, 1),
Je += nt + ".")
}
),
Je += Ye,
0 != H.length || 0 === Ye.length)
return null;
const Te = {};
return Te.domEventName = he,
Te.fullKey = Je,
Te
}
static matchEventFullKeyCode(b, H) {
let he = Me[b.key] || b.key
, Ye = "";
return H.indexOf("code.") > -1 && (he = b.code,
Ye = "code."),
!(null == he || !he) && (he = he.toLowerCase(),
" " === he ? he = "space" : "." === he && (he = "dot"),
ce.forEach(Je => {
Je !== he && (0,
Ee[Je])(b) && (Ye += Je + ".")
}
),
Ye += he,
Ye === H)
}
static eventCallback(b, H, he) {
return Ye => {
Y.matchEventFullKeyCode(Ye, b) && he.runGuarded( () => H(Ye))
}
}
static _normalizeKey(b) {
return "esc" === b ? "escape" : b
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(h.K0))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: Y.\u0275fac
}),
Y
}
)();
const Nt = (0,
w.eFA)(w._c5, "browser", [{
provide: w.Lbi,
useValue: h.bD
}, {
provide: w.g9A,
useValue: function tt() {
G.makeCurrent()
},
multi: !0
}, {
provide: h.K0,
useFactory: function Rt() {
return (0,
w.RDi)(document),
document
},
deps: []
}])
, jt = new w.OlP("")
, Lt = [{
provide: w.rWj,
useClass: class P {
addToWindow($) {
w.dqk.getAngularTestability = (H, he=!0) => {
const Ye = $.findTestabilityInTree(H, he);
if (null == Ye)
throw new Error("Could not find testability for element.");
return Ye
}
,
w.dqk.getAllAngularTestabilities = () => $.getAllTestabilities(),
w.dqk.getAllAngularRootElements = () => $.getAllRootElements(),
w.dqk.frameworkStabilizers || (w.dqk.frameworkStabilizers = []),
w.dqk.frameworkStabilizers.push(H => {
const he = w.dqk.getAllAngularTestabilities();
let Ye = he.length
, Je = !1;
const gt = function(Te) {
Je = Je || Te,
Ye--,
0 == Ye && H(Je)
};
he.forEach(function(Te) {
Te.whenStable(gt)
})
}
)
}
findTestabilityInTree($, b, H) {
return null == b ? null : $.getTestability(b) ?? (H ? (0,
h.q)().isShadowRoot(b) ? this.findTestabilityInTree($, b.host, !0) : this.findTestabilityInTree($, b.parentElement, !0) : null)
}
}
,
deps: []
}, {
provide: w.lri,
useClass: w.dDg,
deps: [w.R0b, w.eoX, w.rWj]
}, {
provide: w.dDg,
useClass: w.dDg,
deps: [w.R0b, w.eoX, w.rWj]
}]
, Fn = [{
provide: w.zSh,
useValue: "root"
}, {
provide: w.qLn,
useFactory: function it() {
return new w.qLn
},
deps: []
}, {
provide: M,
useClass: re,
multi: !0,
deps: [h.K0, w.R0b, w.Lbi]
}, {
provide: M,
useClass: He,
multi: !0,
deps: [h.K0]
}, {
provide: N,
useClass: N,
deps: [B, Se, w.AFp]
}, {
provide: w.FYo,
useExisting: N
}, {
provide: Pe,
useExisting: Se
}, {
provide: Se,
useClass: Se,
deps: [h.K0]
}, {
provide: B,
useClass: B,
deps: [M, w.R0b]
}, {
provide: h.JF,
useClass: K,
deps: []
}, []];
let Nn = ( () => {
class Y {
constructor(b) {}
static withServerTransition(b) {
return {
ngModule: Y,
providers: [{
provide: w.AFp,
useValue: b.appId
}, {
provide: te,
useExisting: w.AFp
}, X]
}
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(jt, 12))
}
,
Y.\u0275mod = w.oAB({
type: Y
}),
Y.\u0275inj = w.cJS({
providers: [...Fn, ...Lt],
imports: [h.ez, w.hGG]
}),
Y
}
)()
, At = ( () => {
class Y {
constructor(b) {
this._doc = b,
this._dom = (0,
h.q)()
}
addTag(b, H=!1) {
return b ? this._getOrCreateElement(b, H) : null
}
addTags(b, H=!1) {
return b ? b.reduce( (he, Ye) => (Ye && he.push(this._getOrCreateElement(Ye, H)),
he), []) : []
}
getTag(b) {
return b && this._doc.querySelector(`meta[${b}]`) || null
}
getTags(b) {
if (!b)
return [];
const H = this._doc.querySelectorAll(`meta[${b}]`);
return H ? [].slice.call(H) : []
}
updateTag(b, H) {
if (!b)
return null;
H = H || this._parseSelector(b);
const he = this.getTag(H);
return he ? this._setMetaElementAttributes(b, he) : this._getOrCreateElement(b, !0)
}
removeTag(b) {
this.removeTagElement(this.getTag(b))
}
removeTagElement(b) {
b && this._dom.remove(b)
}
_getOrCreateElement(b, H=!1) {
if (!H) {
const Je = this._parseSelector(b)
, gt = this.getTags(Je).filter(Te => this._containsAttributes(b, Te))[0];
if (void 0 !== gt)
return gt
}
const he = this._dom.createElement("meta");
return this._setMetaElementAttributes(b, he),
this._doc.getElementsByTagName("head")[0].appendChild(he),
he
}
_setMetaElementAttributes(b, H) {
return Object.keys(b).forEach(he => H.setAttribute(this._getMetaKeyMap(he), b[he])),
H
}
_parseSelector(b) {
const H = b.name ? "name" : "property";
return `${H}="${b[H]}"`
}
_containsAttributes(b, H) {
return Object.keys(b).every(he => H.getAttribute(this._getMetaKeyMap(he)) === b[he])
}
_getMetaKeyMap(b) {
return Qe[b] || b
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(h.K0))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: function(b) {
let H = null;
return H = b ? new b : function mn() {
return new At((0,
w.LFG)(h.K0))
}(),
H
},
providedIn: "root"
}),
Y
}
)();
const Qe = {
httpEquiv: "http-equiv"
};
let se = ( () => {
class Y {
constructor(b) {
this._doc = b
}
getTitle() {
return this._doc.title
}
setTitle(b) {
this._doc.title = b || ""
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(h.K0))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: function(b) {
let H = null;
return H = b ? new b : function zt() {
return new se((0,
w.LFG)(h.K0))
}(),
H
},
providedIn: "root"
}),
Y
}
)();
function Xt(Y) {
return Y
}
typeof window < "u" && window;
let ut = ( () => {
class Y {
constructor() {
this.store = {},
this.onSerializeCallbacks = {}
}
get(b, H) {
return void 0 !== this.store[b] ? this.store[b] : H
}
set(b, H) {
this.store[b] = H
}
remove(b) {
delete this.store[b]
}
hasKey(b) {
return this.store.hasOwnProperty(b)
}
get isEmpty() {
return 0 === Object.keys(this.store).length
}
onSerialize(b, H) {
this.onSerializeCallbacks[b] = H
}
toJson() {
for (const b in this.onSerializeCallbacks)
if (this.onSerializeCallbacks.hasOwnProperty(b))
try {
this.store[b] = this.onSerializeCallbacks[b]()
} catch (H) {
console.warn("Exception in onSerialize callback: ", H)
}
return JSON.stringify(this.store)
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: function() {
return ( () => {
const $ = (0,
w.f3M)(h.K0)
, b = (0,
w.f3M)(w.AFp)
, H = new Y;
return H.store = function kt(Y, $) {
const b = Y.getElementById($ + "-state");
let H = {};
if (b && b.textContent)
try {
H = JSON.parse(function Et(Y) {
const $ = {
"&a;": "&",
"&q;": '"',
"&s;": "'",
"&l;": "<",
"&g;": ">"
};
return Y.replace(/&[^;]+;/g, b => $[b])
}(b.textContent))
} catch (he) {
console.warn("Exception while restoring TransferState for app " + $, he)
}
return H
}($, b),
H
}
)()
},
providedIn: "root"
}),
Y
}
)()
, jr = ( () => {
class Y {
}
return Y.\u0275fac = function(b) {
return new (b || Y)
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: function(b) {
let H = null;
return H = b ? new (b || Y) : w.LFG(wr),
H
},
providedIn: "root"
}),
Y
}
)()
, wr = ( () => {
class Y extends jr {
constructor(b) {
super(),
this._doc = b
}
sanitize(b, H) {
if (null == H)
return null;
switch (b) {
case w.q3G.NONE:
return H;
case w.q3G.HTML:
return (0,
w.qzn)(H, "HTML") ? (0,
w.z3N)(H) : (0,
w.EiD)(this._doc, String(H)).toString();
case w.q3G.STYLE:
return (0,
w.qzn)(H, "Style") ? (0,
w.z3N)(H) : H;
case w.q3G.SCRIPT:
if ((0,
w.qzn)(H, "Script"))
return (0,
w.z3N)(H);
throw new Error("unsafe value used in a script context");
case w.q3G.URL:
return (0,
w.qzn)(H, "URL") ? (0,
w.z3N)(H) : (0,
w.mCW)(String(H));
case w.q3G.RESOURCE_URL:
if ((0,
w.qzn)(H, "ResourceURL"))
return (0,
w.z3N)(H);
throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");
default:
throw new Error(`Unexpected SecurityContext ${b} (see https://g.co/ng/security#xss)`)
}
}
bypassSecurityTrustHtml(b) {
return (0,
w.JVY)(b)
}
bypassSecurityTrustStyle(b) {
return (0,
w.L6k)(b)
}
bypassSecurityTrustScript(b) {
return (0,
w.eBb)(b)
}
bypassSecurityTrustUrl(b) {
return (0,
w.LAX)(b)
}
bypassSecurityTrustResourceUrl(b) {
return (0,
w.pB0)(b)
}
}
return Y.\u0275fac = function(b) {
return new (b || Y)(w.LFG(h.K0))
}
,
Y.\u0275prov = w.Yz7({
token: Y,
factory: function(b) {
let H = null;
return H = b ? new b : function or(Y) {
return new wr(Y.get(h.K0))
}(w.LFG(w.zs3)),
H
},
providedIn: "root"
}),
Y
}
)()
}
,
1226: (Oe, ae, D) => {
"use strict";
D.d(ae, {
gz: () => $n,
m2: () => Qn,
F0: () => Yt,
Od: () => Zr,
yS: () => pr,
Bz: () => Pa,
lC: () => xn
});
var h = D(8256)
, w = D(2076)
, A = D(9646)
, G = D(1135)
, U = D(6805)
, le = D(9751);
const {isArray: J} = Array
, {getPrototypeOf: q, prototype: te, keys: R} = Object;
var K = D(4671)
, M = D(4004);
const {isArray: B} = Array;
var Se = D(3269)
, oe = D(5403)
, De = D(9672);
function me(...c) {
const u = (0,
Se.yG)(c)
, a = (0,
Se.jO)(c)
, {args: f, keys: m} = function X(c) {
if (1 === c.length) {
const u = c[0];
if (J(u))
return {
args: u,
keys: null
};
if (function P(c) {
return c && "object" == typeof c && q(c) === te
}(u)) {
const a = R(u);
return {
args: a.map(f => u[f]),
keys: a
}
}
}
return {
args: c,
keys: null
}
}(c);
if (0 === f.length)
return (0,
w.D)([], u);
const C = new le.y(function ve(c, u, a=K.y) {
return f => {
Q(u, () => {
const {length: m} = c
, C = new Array(m);
let T = m
, O = m;
for (let ue = 0; ue < m; ue++)
Q(u, () => {
const Ae = (0,
w.D)(c[ue], u);
let Xe = !1;
Ae.subscribe((0,
oe.x)(f, je => {
C[ue] = je,
Xe || (Xe = !0,
O--),
O || f.next(a(C.slice()))
}
, () => {
--T || f.complete()
}
))
}
, f)
}
, f)
}
}(f, u, m ? T => function xe(c, u) {
return c.reduce( (a, f, m) => (a[f] = u[m],
a), {})
}(m, T) : K.y));
return a ? C.pipe(function Pe(c) {
return (0,
M.U)(u => function ne(c, u) {
return B(u) ? c(...u) : c(u)
}(c, u))
}(a)) : C
}
function Q(c, u, a) {
c ? (0,
De.f)(a, c, u) : u()
}
var V = D(7272)
, Z = D(8421);
function z(c) {
return new le.y(u => {
(0,
Z.Xf)(c()).subscribe(u)
}
)
}
var pe = D(9635)
, L = D(576);
function _e(c, u) {
const a = (0,
L.m)(c) ? c : () => c
, f = m => m.error(a());
return new le.y(u ? m => u.schedule(f, 0, m) : f)
}
var N = D(515)
, Re = D(727)
, fe = D(4482);
function Ne() {
return (0,
fe.e)( (c, u) => {
let a = null;
c._refCount++;
const f = (0,
oe.x)(u, void 0, void 0, void 0, () => {
if (!c || c._refCount <= 0 || 0 < --c._refCount)
return void (a = null);
const m = c._connection
, C = a;
a = null,
m && (!C || m === C) && m.unsubscribe(),
u.unsubscribe()
}
);
c.subscribe(f),
f.closed || (a = c.connect())
}
)
}
class Le extends le.y {
constructor(u, a) {
super(),
this.source = u,
this.subjectFactory = a,
this._subject = null,
this._refCount = 0,
this._connection = null,
(0,
fe.A)(u) && (this.lift = u.lift)
}
_subscribe(u) {
return this.getSubject().subscribe(u)
}
getSubject() {
const u = this._subject;
return (!u || u.isStopped) && (this._subject = this.subjectFactory()),
this._subject
}
_teardown() {
this._refCount = 0;
const {_connection: u} = this;
this._subject = this._connection = null,
u?.unsubscribe()
}
connect() {
let u = this._connection;
if (!u) {
u = this._connection = new Re.w0;
const a = this.getSubject();
u.add(this.source.subscribe((0,
oe.x)(a, void 0, () => {
this._teardown(),
a.complete()
}
, f => {
this._teardown(),
a.error(f)
}
, () => this._teardown()))),
u.closed && (this._connection = null,
u = Re.w0.EMPTY)
}
return u
}
refCount() {
return Ne()(this)
}
}
var W = D(7579)
, j = D(6895);
function re(c, u) {
return (0,
fe.e)( (a, f) => {
let m = null
, C = 0
, T = !1;
const O = () => T && !m && f.complete();
a.subscribe((0,
oe.x)(f, ue => {
m?.unsubscribe();
let Ae = 0;
const Xe = C++;
(0,
Z.Xf)(c(ue, Xe)).subscribe(m = (0,
oe.x)(f, je => f.next(u ? u(ue, je, Xe, Ae++) : je), () => {
m = null,
O()
}
))
}
, () => {
T = !0,
O()
}
))
}
)
}
var ce = D(5698)
, Ee = D(9300)
, He = D(5577);
function We(c) {
return (0,
fe.e)( (u, a) => {
let f = !1;
u.subscribe((0,
oe.x)(a, m => {
f = !0,
a.next(m)
}
, () => {
f || a.next(c),
a.complete()
}
))
}
)
}
function ht(c=Ue) {
return (0,
fe.e)( (u, a) => {
let f = !1;
u.subscribe((0,
oe.x)(a, m => {
f = !0,
a.next(m)
}
, () => f ? a.complete() : a.error(c())))
}
)
}
function Ue() {
return new U.K
}
function ft(c, u) {
const a = arguments.length >= 2;
return f => f.pipe(c ? (0,
Ee.h)( (m, C) => c(m, C, f)) : K.y, (0,
ce.q)(1), a ? We(u) : ht( () => new U.K))
}
var _t = D(4351)
, tt = D(8505)
, it = D(262);
function Rt(c, u, a, f, m) {
return (C, T) => {
let O = a
, ue = u
, Ae = 0;
C.subscribe((0,
oe.x)(T, Xe => {
const je = Ae++;
ue = O ? c(ue, Xe, je) : (O = !0,
Xe),
f && T.next(ue)
}
, m && ( () => {
O && T.next(ue),
T.complete()
}
)))
}
}
function Ft(c, u) {
return (0,
fe.e)(Rt(c, u, arguments.length >= 2, !0))
}
function Nt(c) {
return c <= 0 ? () => N.E : (0,
fe.e)( (u, a) => {
let f = [];
u.subscribe((0,
oe.x)(a, m => {
f.push(m),
c < f.length && f.shift()
}
, () => {
for (const m of f)
a.next(m);
a.complete()
}
, void 0, () => {
f = null
}
))
}
)
}
function jt(c, u) {
const a = arguments.length >= 2;
return f => f.pipe(c ? (0,
Ee.h)( (m, C) => c(m, C, f)) : K.y, Nt(1), a ? We(u) : ht( () => new U.K))
}
var Fn = D(9718);
function Nn(c) {
return (0,
fe.e)( (u, a) => {
try {
u.subscribe(a)
} finally {
a.add(c)
}
}
)
}
var mn = D(8189)
, At = D(1481);
const Qe = "primary"
, zt = Symbol("RouteTitle");
class se {
constructor(u) {
this.params = u || {}
}
has(u) {
return Object.prototype.hasOwnProperty.call(this.params, u)
}
get(u) {
if (this.has(u)) {
const a = this.params[u];
return Array.isArray(a) ? a[0] : a
}
return null
}
getAll(u) {
if (this.has(u)) {
const a = this.params[u];
return Array.isArray(a) ? a : [a]
}
return []
}
get keys() {
return Object.keys(this.params)
}
}
function S(c) {
return new se(c)
}
function x(c, u, a) {
const f = a.path.split("/");
if (f.length > c.length || "full" === a.pathMatch && (u.hasChildren() || f.length < c.length))
return null;
const m = {};
for (let C = 0; C < f.length; C++) {
const T = f[C]
, O = c[C];
if (T.startsWith(":"))
m[T.substring(1)] = O;
else if (T !== O.path)
return null
}
return {
consumed: c.slice(0, f.length),
posParams: m
}
}
function ge(c, u) {
const a = c ? Object.keys(c) : void 0
, f = u ? Object.keys(u) : void 0;
if (!a || !f || a.length != f.length)
return !1;
let m;
for (let C = 0; C < a.length; C++)
if (m = a[C],
!Ve(c[m], u[m]))
return !1;
return !0
}
function Ve(c, u) {
if (Array.isArray(c) && Array.isArray(u)) {
if (c.length !== u.length)
return !1;
const a = [...c].sort()
, f = [...u].sort();
return a.every( (m, C) => f[C] === m)
}
return c === u
}
function Be(c) {
return Array.prototype.concat.apply([], c)
}
function Fe(c) {
return c.length > 0 ? c[c.length - 1] : null
}
function st(c, u) {
for (const a in c)
c.hasOwnProperty(a) && u(c[a], a)
}
function lt(c) {
return (0,
h.CqO)(c) ? c : (0,
h.QGY)(c) ? (0,
w.D)(Promise.resolve(c)) : (0,
A.of)(c)
}
const xt = {
exact: function kt(c, u, a) {
if (!Un(c.segments, u.segments) || !rn(c.segments, u.segments, a) || c.numberOfChildren !== u.numberOfChildren)
return !1;
for (const f in u.children)
if (!c.children[f] || !kt(c.children[f], u.children[f], a))
return !1;
return !0
},
subset: kn
}
, Et = {
exact: function ut(c, u) {
return ge(c, u)
},
subset: function Ln(c, u) {
return Object.keys(u).length <= Object.keys(c).length && Object.keys(u).every(a => Ve(c[a], u[a]))
},
ignored: () => !0
};
function Xt(c, u, a) {
return xt[a.paths](c.root, u.root, a.matrixParams) && Et[a.queryParams](c.queryParams, u.queryParams) && !("exact" === a.fragment && c.fragment !== u.fragment)
}
function kn(c, u, a) {
return Pn(c, u, u.segments, a)
}
function Pn(c, u, a, f) {
if (c.segments.length > a.length) {
const m = c.segments.slice(0, a.length);
return !(!Un(m, a) || u.hasChildren() || !rn(m, a, f))
}
if (c.segments.length === a.length) {
if (!Un(c.segments, a) || !rn(c.segments, a, f))
return !1;
for (const m in u.children)
if (!c.children[m] || !kn(c.children[m], u.children[m], f))
return !1;
return !0
}
{
const m = a.slice(0, c.segments.length)
, C = a.slice(c.segments.length);
return !!(Un(c.segments, m) && rn(c.segments, m, f) && c.children[Qe]) && Pn(c.children[Qe], u, C, f)
}
}
function rn(c, u, a) {
return u.every( (f, m) => Et[a](c[m].parameters, f.parameters))
}
class vn {
constructor(u, a, f) {
this.root = u,
this.queryParams = a,
this.fragment = f
}
get queryParamMap() {
return this._queryParamMap || (this._queryParamMap = S(this.queryParams)),
this._queryParamMap
}
toString() {
return ro.serialize(this)
}
}
class at {
constructor(u, a) {
this.segments = u,
this.children = a,
this.parent = null,
st(a, (f, m) => f.parent = this)
}
hasChildren() {
return this.numberOfChildren > 0
}
get numberOfChildren() {
return Object.keys(this.children).length
}
toString() {
return Y(this)
}
}
class Jn {
constructor(u, a) {
this.path = u,
this.parameters = a
}
get parameterMap() {
return this._parameterMap || (this._parameterMap = S(this.parameters)),
this._parameterMap
}
toString() {
return Te(this)
}
}
function Un(c, u) {
return c.length === u.length && c.every( (a, f) => a.path === u[f].path)
}
let or = ( () => {
class c {
}
return c.\u0275fac = function(a) {
return new (a || c)
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: function() {
return new wr
},
providedIn: "root"
}),
c
}
)();
class wr {
parse(u) {
const a = new br(u);
return new vn(a.parseRootSegment(),a.parseQueryParams(),a.parseFragment())
}
serialize(u) {
const a = `/${$(u.root, !0)}`
, f = function wt(c) {
const u = Object.keys(c).map(a => {
const f = c[a];
return Array.isArray(f) ? f.map(m => `${H(a)}=${H(m)}`).join("&") : `${H(a)}=${H(f)}`
}
).filter(a => !!a);
return u.length ? `?${u.join("&")}` : ""
}(u.queryParams);
return `${a}${f}${"string" == typeof u.fragment ? `#${function he(c) {
return encodeURI(c)
}(u.fragment)}` : ""}`
}
}
const ro = new wr;
function Y(c) {
return c.segments.map(u => Te(u)).join("/")
}
function $(c, u) {
if (!c.hasChildren())
return Y(c);
if (u) {
const a = c.children[Qe] ? $(c.children[Qe], !1) : ""
, f = [];
return st(c.children, (m, C) => {
C !== Qe && f.push(`${C}:${$(m, !1)}`)
}
),
f.length > 0 ? `${a}(${f.join("//")})` : a
}
{
const a = function jr(c, u) {
let a = [];
return st(c.children, (f, m) => {
m === Qe && (a = a.concat(u(f, m)))
}
),
st(c.children, (f, m) => {
m !== Qe && (a = a.concat(u(f, m)))
}
),
a
}(c, (f, m) => m === Qe ? [$(c.children[Qe], !1)] : [`${m}:${$(f, !1)}`]);
return 1 === Object.keys(c.children).length && null != c.children[Qe] ? `${Y(c)}/${a[0]}` : `${Y(c)}/(${a.join("//")})`
}
}
function b(c) {
return encodeURIComponent(c).replace(/%40/g, "@").replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",")
}
function H(c) {
return b(c).replace(/%3B/gi, ";")
}
function Ye(c) {
return b(c).replace(/\(/g, "%28").replace(/\)/g, "%29").replace(/%26/gi, "&")
}
function Je(c) {
return decodeURIComponent(c)
}
function gt(c) {
return Je(c.replace(/\+/g, "%20"))
}
function Te(c) {
return `${Ye(c.path)}${function nt(c) {
return Object.keys(c).map(u => `;${Ye(u)}=${Ye(c[u])}`).join("")
}(c.parameters)}`
}
const on = /^[^\/()?;=#]+/;
function On(c) {
const u = c.match(on);
return u ? u[0] : ""
}
const Gt = /^[^=?]+/
, Tt = /^[^]+/;
class br {
constructor(u) {
this.url = u,
this.remaining = u
}
parseRootSegment() {
return this.consumeOptional("/"),
"" === this.remaining || this.peekStartsWith("?") || this.peekStartsWith("#") ? new at([],{}) : new at([],this.parseChildren())
}
parseQueryParams() {
const u = {};
if (this.consumeOptional("?"))
do {
this.parseQueryParam(u)
} while (this.consumeOptional("&"));
return u
}
parseFragment() {
return this.consumeOptional("#") ? decodeURIComponent(this.remaining) : null
}
parseChildren() {
if ("" === this.remaining)
return {};
this.consumeOptional("/");
const u = [];
for (this.peekStartsWith("(") || u.push(this.parseSegment()); this.peekStartsWith("/") && !this.peekStartsWith("//") && !this.peekStartsWith("/("); )
this.capture("/"),
u.push(this.parseSegment());
let a = {};
this.peekStartsWith("/(") && (this.capture("/"),
a = this.parseParens(!0));
let f = {};
return this.peekStartsWith("(") && (f = this.parseParens(!1)),
(u.length > 0 || Object.keys(a).length > 0) && (f[Qe] = new at(u,a)),
f
}
parseSegment() {
const u = On(this.remaining);
if ("" === u && this.peekStartsWith(";"))
throw new h.vHH(4009,!1);
return this.capture(u),
new Jn(Je(u),this.parseMatrixParams())
}
parseMatrixParams() {
const u = {};
for (; this.consumeOptional(";"); )
this.parseParam(u);
return u
}
parseParam(u) {
const a = On(this.remaining);
if (!a)
return;
this.capture(a);
let f = "";
if (this.consumeOptional("=")) {
const m = On(this.remaining);
m && (f = m,
this.capture(f))
}
u[Je(a)] = Je(f)
}
parseQueryParam(u) {
const a = function ir(c) {
const u = c.match(Gt);
return u ? u[0] : ""
}(this.remaining);
if (!a)
return;
this.capture(a);
let f = "";
if (this.consumeOptional("=")) {
const T = function sr(c) {
const u = c.match(Tt);
return u ? u[0] : ""
}(this.remaining);
T && (f = T,
this.capture(f))
}
const m = gt(a)
, C = gt(f);
if (u.hasOwnProperty(m)) {
let T = u[m];
Array.isArray(T) || (T = [T],
u[m] = T),
T.push(C)
} else
u[m] = C
}
parseParens(u) {
const a = {};
for (this.capture("("); !this.consumeOptional(")") && this.remaining.length > 0; ) {
const f = On(this.remaining)
, m = this.remaining[f.length];
if ("/" !== m && ")" !== m && ";" !== m)
throw new h.vHH(4010,!1);
let C;
f.indexOf(":") > -1 ? (C = f.slice(0, f.indexOf(":")),
this.capture(C),
this.capture(":")) : u && (C = Qe);
const T = this.parseChildren();
a[C] = 1 === Object.keys(T).length ? T[Qe] : new at([],T),
this.consumeOptional("//")
}
return a
}
peekStartsWith(u) {
return this.remaining.startsWith(u)
}
consumeOptional(u) {
return !!this.peekStartsWith(u) && (this.remaining = this.remaining.substring(u.length),
!0)
}
capture(u) {
if (!this.consumeOptional(u))
throw new h.vHH(4011,!1)
}
}
function rt(c) {
return c.segments.length > 0 ? new at([],{
[Qe]: c
}) : c
}
function Mr(c) {
const u = {};
for (const f of Object.keys(c.children)) {
const C = Mr(c.children[f]);
(C.segments.length > 0 || C.hasChildren()) && (u[f] = C)
}
return function Sr(c) {
if (1 === c.numberOfChildren && c.children[Qe]) {
const u = c.children[Qe];
return new at(c.segments.concat(u.segments),u.children)
}
return c
}(new at(c.segments,u))
}
function Bn(c) {
return c instanceof vn
}
function yn(c, u, a, f, m) {
if (0 === a.length)
return mt(u.root, u.root, u.root, f, m);
const C = function ar(c) {
if ("string" == typeof c[0] && 1 === c.length && "/" === c[0])
return new xo(!0,0,c);
let u = 0
, a = !1;
const f = c.reduce( (m, C, T) => {
if ("object" == typeof C && null != C) {
if (C.outlets) {
const O = {};
return st(C.outlets, (ue, Ae) => {
O[Ae] = "string" == typeof ue ? ue.split("/") : ue
}
),
[...m, {
outlets: O
}]
}
if (C.segmentPath)
return [...m, C.segmentPath]
}
return "string" != typeof C ? [...m, C] : 0 === T ? (C.split("/").forEach( (O, ue) => {
0 == ue && "." === O || (0 == ue && "" === O ? a = !0 : ".." === O ? u++ : "" != O && m.push(O))
}
),
m) : [...m, C]
}
, []);
return new xo(a,u,f)
}(a);
return C.toRoot() ? mt(u.root, u.root, new at([],{}), f, m) : function T(ue) {
const Ae = function oo(c, u, a, f) {
if (c.isAbsolute)
return new Sn(u.root,!0,0);
if (-1 === f)
return new Sn(a,a === u.root,0);
return function cr(c, u, a) {
let f = c
, m = u
, C = a;
for (; C > m; ) {
if (C -= m,
f = f.parent,
!f)
throw new h.vHH(4005,!1);
m = f.segments.length
}
return new Sn(f,!1,m - C)
}(a, f + (Mn(c.commands[0]) ? 0 : 1), c.numberOfDoubleDots)
}(C, u, c.snapshot?._urlSegment, ue)
, Xe = Ae.processChildren ? Vt(Ae.segmentGroup, Ae.index, C.commands) : To(Ae.segmentGroup, Ae.index, C.commands);
return mt(u.root, Ae.segmentGroup, Xe, f, m)
}(c.snapshot?._lastPathIndex)
}
function Mn(c) {
return "object" == typeof c && null != c && !c.outlets && !c.segmentPath
}
function Tr(c) {
return "object" == typeof c && null != c && c.outlets
}
function mt(c, u, a, f, m) {
let T, C = {};
f && st(f, (ue, Ae) => {
C[Ae] = Array.isArray(ue) ? ue.map(Xe => `${Xe}`) : `${ue}`
}
),
T = c === u ? a : ri(c, u, a);
const O = rt(Mr(T));
return new vn(O,C,m)
}
function ri(c, u, a) {
const f = {};
return st(c.children, (m, C) => {
f[C] = m === u ? a : ri(m, u, a)
}
),
new at(c.segments,f)
}
class xo {
constructor(u, a, f) {
if (this.isAbsolute = u,
this.numberOfDoubleDots = a,
this.commands = f,
u && f.length > 0 && Mn(f[0]))
throw new h.vHH(4003,!1);
const m = f.find(Tr);
if (m && m !== Fe(f))
throw new h.vHH(4004,!1)
}
toRoot() {
return this.isAbsolute && 1 === this.commands.length && "/" == this.commands[0]
}
}
class Sn {
constructor(u, a, f) {
this.segmentGroup = u,
this.processChildren = a,
this.index = f
}
}
function To(c, u, a) {
if (c || (c = new at([],{})),
0 === c.segments.length && c.hasChildren())
return Vt(c, u, a);
const f = function In(c, u, a) {
let f = 0
, m = u;
const C = {
match: !1,
pathIndex: 0,
commandIndex: 0
};
for (; m < c.segments.length; ) {
if (f >= a.length)
return C;
const T = c.segments[m]
, O = a[f];
if (Tr(O))
break;
const ue = `${O}`
, Ae = f < a.length - 1 ? a[f + 1] : null;
if (m > 0 && void 0 === ue)
break;
if (ue && Ae && "object" == typeof Ae && void 0 === Ae.outlets) {
if (!Dn(ue, Ae, T))
return C;
f += 2
} else {
if (!Dn(ue, {}, T))
return C;
f++
}
m++
}
return {
match: !0,
pathIndex: m,
commandIndex: f
}
}(c, u, a)
, m = a.slice(f.commandIndex);
if (f.match && f.pathIndex < c.segments.length) {
const C = new at(c.segments.slice(0, f.pathIndex),{});
return C.children[Qe] = new at(c.segments.slice(f.pathIndex),c.children),
Vt(C, 0, m)
}
return f.match && 0 === m.length ? new at(c.segments,{}) : f.match && !c.hasChildren() ? io(c, u, a) : f.match ? Vt(c, 0, m) : io(c, u, a)
}
function Vt(c, u, a) {
if (0 === a.length)
return new at(c.segments,{});
{
const f = function Jt(c) {
return Tr(c[0]) ? c[0].outlets : {
[Qe]: c
}
}(a)
, m = {};
return st(f, (C, T) => {
"string" == typeof C && (C = [C]),
null !== C && (m[T] = To(c.children[T], u, C))
}
),
st(c.children, (C, T) => {
void 0 === f[T] && (m[T] = C)
}
),
new at(c.segments,m)
}
}
function io(c, u, a) {
const f = c.segments.slice(0, u);
let m = 0;
for (; m < a.length; ) {
const C = a[m];
if (Tr(C)) {
const ue = cn(C.outlets);
return new at(f,ue)
}
if (0 === m && Mn(a[0])) {
f.push(new Jn(c.segments[u].path,Hr(a[0]))),
m++;
continue
}
const T = Tr(C) ? C.outlets[Qe] : `${C}`
, O = m < a.length - 1 ? a[m + 1] : null;
T && O && Mn(O) ? (f.push(new Jn(T,Hr(O))),
m += 2) : (f.push(new Jn(T,{})),
m++)
}
return new at(f,{})
}
function cn(c) {
const u = {};
return st(c, (a, f) => {
"string" == typeof a && (a = [a]),
null !== a && (u[f] = io(new at([],{}), 0, a))
}
),
u
}
function Hr(c) {
const u = {};
return st(c, (a, f) => u[f] = `${a}`),
u
}
function Dn(c, u, a) {
return c == a.path && ge(u, a.parameters)
}
class Hn {
constructor(u, a) {
this.id = u,
this.url = a
}
}
class oi extends Hn {
constructor(u, a, f="imperative", m=null) {
super(u, a),
this.type = 0,
this.navigationTrigger = f,
this.restoredState = m
}
toString() {
return `NavigationStart(id: ${this.id}, url: '${this.url}')`
}
}
class Qn extends Hn {
constructor(u, a, f) {
super(u, a),
this.urlAfterRedirects = f,
this.type = 1
}
toString() {
return `NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`
}
}
class so extends Hn {
constructor(u, a, f, m) {
super(u, a),
this.reason = f,
this.code = m,
this.type = 2
}
toString() {
return `NavigationCancel(id: ${this.id}, url: '${this.url}')`
}
}
class ts extends Hn {
constructor(u, a, f, m) {
super(u, a),
this.error = f,
this.target = m,
this.type = 3
}
toString() {
return `NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`
}
}
class ia extends Hn {
constructor(u, a, f, m) {
super(u, a),
this.urlAfterRedirects = f,
this.state = m,
this.type = 4
}
toString() {
return `RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`
}
}
class sa extends Hn {
constructor(u, a, f, m) {
super(u, a),
this.urlAfterRedirects = f,
this.state = m,
this.type = 7
}
toString() {
return `GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`
}
}
class aa extends Hn {
constructor(u, a, f, m, C) {
super(u, a),
this.urlAfterRedirects = f,
this.state = m,
this.shouldActivate = C,
this.type = 8
}
toString() {
return `GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`
}
}
class ns extends Hn {
constructor(u, a, f, m) {
super(u, a),
this.urlAfterRedirects = f,
this.state = m,
this.type = 5
}
toString() {
return `ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`
}
}
class ca extends Hn {
constructor(u, a, f, m) {
super(u, a),
this.urlAfterRedirects = f,
this.state = m,
this.type = 6
}
toString() {
return `ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`
}
}
class ua {
constructor(u) {
this.route = u,
this.type = 9
}
toString() {
return `RouteConfigLoadStart(path: ${this.route.path})`
}
}
class la {
constructor(u) {
this.route = u,
this.type = 10
}
toString() {
return `RouteConfigLoadEnd(path: ${this.route.path})`
}
}
class da {
constructor(u) {
this.snapshot = u,
this.type = 11
}
toString() {
return `ChildActivationStart(path: '${this.snapshot.routeConfig && this.snapshot.routeConfig.path || ""}')`
}
}
class fa {
constructor(u) {
this.snapshot = u,
this.type = 12
}
toString() {
return `ChildActivationEnd(path: '${this.snapshot.routeConfig && this.snapshot.routeConfig.path || ""}')`
}
}
class ha {
constructor(u) {
this.snapshot = u,
this.type = 13
}
toString() {
return `ActivationStart(path: '${this.snapshot.routeConfig && this.snapshot.routeConfig.path || ""}')`
}
}
class rs {
constructor(u) {
this.snapshot = u,
this.type = 14
}
toString() {
return `ActivationEnd(path: '${this.snapshot.routeConfig && this.snapshot.routeConfig.path || ""}')`
}
}
class ii {
constructor(u, a, f) {
this.routerEvent = u,
this.position = a,
this.anchor = f,
this.type = 15
}
toString() {
return `Scroll(anchor: '${this.anchor}', position: '${this.position ? `${this.position[0]}, ${this.position[1]}` : null}')`
}
}
class Ao {
constructor(u) {
this._root = u
}
get root() {
return this._root.value
}
parent(u) {
const a = this.pathFromRoot(u);
return a.length > 1 ? a[a.length - 2] : null
}
children(u) {
const a = ur(u, this._root);
return a ? a.children.map(f => f.value) : []
}
firstChild(u) {
const a = ur(u, this._root);
return a && a.children.length > 0 ? a.children[0].value : null
}
siblings(u) {
const a = ao(u, this._root);
return a.length < 2 ? [] : a[a.length - 2].children.map(m => m.value).filter(m => m !== u)
}
pathFromRoot(u) {
return ao(u, this._root).map(a => a.value)
}
}
function ur(c, u) {
if (c === u.value)
return u;
for (const a of u.children) {
const f = ur(c, a);
if (f)
return f
}
return null
}
function ao(c, u) {
if (c === u.value)
return [u];
for (const a of u.children) {
const f = ao(c, a);
if (f.length)
return f.unshift(u),
f
}
return []
}
class qn {
constructor(u, a) {
this.value = u,
this.children = a
}
toString() {
return `TreeNode(${this.value})`
}
}
function co(c) {
const u = {};
return c && c.children.forEach(a => u[a.value.outlet] = a),
u
}
class Xn extends Ao {
constructor(u, a) {
super(u),
this.snapshot = a,
ci(this, u)
}
toString() {
return this.snapshot.toString()
}
}
function Po(c, u) {
const a = function Oo(c, u) {
const T = new uo([],{},{},"",{},Qe,u,null,c.root,-1,{});
return new ai("",new qn(T,[]))
}(c, u)
, f = new G.X([new Jn("",{})])
, m = new G.X({})
, C = new G.X({})
, T = new G.X({})
, O = new G.X("")
, ue = new $n(f,m,T,O,C,Qe,u,a.root);
return ue.snapshot = a.root,
new Xn(new qn(ue,[]),a)
}
class $n {
constructor(u, a, f, m, C, T, O, ue) {
this.url = u,
this.params = a,
this.queryParams = f,
this.fragment = m,
this.data = C,
this.outlet = T,
this.component = O,
this.title = this.data?.pipe((0,
M.U)(Ae => Ae[zt])) ?? (0,
A.of)(void 0),
this._futureSnapshot = ue
}
get routeConfig() {
return this._futureSnapshot.routeConfig
}
get root() {
return this._routerState.root
}
get parent() {
return this._routerState.parent(this)
}
get firstChild() {
return this._routerState.firstChild(this)
}
get children() {
return this._routerState.children(this)
}
get pathFromRoot() {
return this._routerState.pathFromRoot(this)
}
get paramMap() {
return this._paramMap || (this._paramMap = this.params.pipe((0,
M.U)(u => S(u)))),
this._paramMap
}
get queryParamMap() {
return this._queryParamMap || (this._queryParamMap = this.queryParams.pipe((0,
M.U)(u => S(u)))),
this._queryParamMap
}
toString() {
return this.snapshot ? this.snapshot.toString() : `Future(${this._futureSnapshot})`
}
}
function si(c, u="emptyOnly") {
const a = c.pathFromRoot;
let f = 0;
if ("always" !== u)
for (f = a.length - 1; f >= 1; ) {
const m = a[f]
, C = a[f - 1];
if (m.routeConfig && "" === m.routeConfig.path)
f--;
else {
if (C.component)
break;
f--
}
}
return function ga(c) {
return c.reduce( (u, a) => ({
params: {
...u.params,
...a.params
},
data: {
...u.data,
...a.data
},
resolve: {
...a.data,
...u.resolve,
...a.routeConfig?.data,
...a._resolvedData
}
}), {
params: {},
data: {},
resolve: {}
})
}(a.slice(f))
}
class uo {
constructor(u, a, f, m, C, T, O, ue, Ae, Xe, je, Dt) {
this.url = u,
this.params = a,
this.queryParams = f,
this.fragment = m,
this.data = C,
this.outlet = T,
this.component = O,
this.title = this.data?.[zt],
this.routeConfig = ue,
this._urlSegment = Ae,
this._lastPathIndex = Xe,
this._correctedLastPathIndex = Dt ?? Xe,
this._resolve = je
}
get root() {
return this._routerState.root
}
get parent() {
return this._routerState.parent(this)
}
get firstChild() {
return this._routerState.firstChild(this)
}
get children() {
return this._routerState.children(this)
}
get pathFromRoot() {
return this._routerState.pathFromRoot(this)
}
get paramMap() {
return this._paramMap || (this._paramMap = S(this.params)),
this._paramMap
}
get queryParamMap() {
return this._queryParamMap || (this._queryParamMap = S(this.queryParams)),
this._queryParamMap
}
toString() {
return `Route(url:'${this.url.map(f => f.toString()).join("/")}', path:'${this.routeConfig ? this.routeConfig.path : ""}')`
}
}
class ai extends Ao {
constructor(u, a) {
super(a),
this.url = u,
ci(this, a)
}
toString() {
return Ro(this._root)
}
}
function ci(c, u) {
u.value._routerState = c,
u.children.forEach(a => ci(c, a))
}
function Ro(c) {
const u = c.children.length > 0 ? ` { ${c.children.map(Ro).join(", ")} } ` : "";
return `${c.value}${u}`
}
function Fo(c) {
if (c.snapshot) {
const u = c.snapshot
, a = c._futureSnapshot;
c.snapshot = a,
ge(u.queryParams, a.queryParams) || c.queryParams.next(a.queryParams),
u.fragment !== a.fragment && c.fragment.next(a.fragment),
ge(u.params, a.params) || c.params.next(a.params),
function ie(c, u) {
if (c.length !== u.length)
return !1;
for (let a = 0; a < c.length; ++a)
if (!ge(c[a], u[a]))
return !1;
return !0
}(u.url, a.url) || c.url.next(a.url),
ge(u.data, a.data) || c.data.next(a.data)
} else
c.snapshot = c._futureSnapshot,
c.data.next(c._futureSnapshot.data)
}
function un(c, u) {
const a = ge(c.params, u.params) && function ni(c, u) {
return Un(c, u) && c.every( (a, f) => ge(a.parameters, u[f].parameters))
}(c.url, u.url);
return a && !(!c.parent != !u.parent) && (!c.parent || un(c.parent, u.parent))
}
function $r(c, u, a) {
if (a && c.shouldReuseRoute(u.value, a.value.snapshot)) {
const f = a.value;
f._futureSnapshot = u.value;
const m = function ui(c, u, a) {
return u.children.map(f => {
for (const m of a.children)
if (c.shouldReuseRoute(f.value, m.value.snapshot))
return $r(c, f, m);
return $r(c, f)
}
)
}(c, u, a);
return new qn(f,m)
}
{
if (c.shouldAttach(u.value)) {
const C = c.retrieve(u.value);
if (null !== C) {
const T = C.route;
return T.value._futureSnapshot = u.value,
T.children = u.children.map(O => $r(c, O)),
T
}
}
const f = function os(c) {
return new $n(new G.X(c.url),new G.X(c.params),new G.X(c.queryParams),new G.X(c.fragment),new G.X(c.data),c.outlet,c.component,c)
}(u.value)
, m = u.children.map(C => $r(c, C));
return new qn(f,m)
}
}
const is = "ngNavigationCancelingError";
function Pt(c, u) {
const {redirectTo: a, navigationBehaviorOptions: f} = Bn(u) ? {
redirectTo: u,
navigationBehaviorOptions: void 0
} : u
, m = ss(!1, 0, u);
return m.url = a,
m.navigationBehaviorOptions = f,
m
}
function ss(c, u, a) {
const f = new Error("NavigationCancelingError: " + (c || ""));
return f[is] = !0,
f.cancellationCode = u,
a && (f.url = a),
f
}
function as(c) {
return Vr(c) && Bn(c.url)
}
function Vr(c) {
return c && c[is]
}
class dn {
constructor() {
this.outlet = null,
this.route = null,
this.resolver = null,
this.injector = null,
this.children = new er,
this.attachRef = null
}
}
let er = ( () => {
class c {
constructor() {
this.contexts = new Map
}
onChildOutletCreated(a, f) {
const m = this.getOrCreateContext(a);
m.outlet = f,
this.contexts.set(a, m)
}
onChildOutletDestroyed(a) {
const f = this.getContext(a);
f && (f.outlet = null,
f.attachRef = null)
}
onOutletDeactivated() {
const a = this.contexts;
return this.contexts = new Map,
a
}
onOutletReAttached(a) {
this.contexts = a
}
getOrCreateContext(a) {
let f = this.getContext(a);
return f || (f = new dn,
this.contexts.set(a, f)),
f
}
getContext(a) {
return this.contexts.get(a) || null
}
}
return c.\u0275fac = function(a) {
return new (a || c)
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: c.\u0275fac,
providedIn: "root"
}),
c
}
)();
const Pr = !1;
let xn = ( () => {
class c {
constructor(a, f, m, C, T) {
this.parentContexts = a,
this.location = f,
this.changeDetector = C,
this.environmentInjector = T,
this.activated = null,
this._activatedRoute = null,
this.activateEvents = new h.vpe,
this.deactivateEvents = new h.vpe,
this.attachEvents = new h.vpe,
this.detachEvents = new h.vpe,
this.name = m || Qe,
a.onChildOutletCreated(this.name, this)
}
ngOnDestroy() {
this.parentContexts.getContext(this.name)?.outlet === this && this.parentContexts.onChildOutletDestroyed(this.name)
}
ngOnInit() {
if (!this.activated) {
const a = this.parentContexts.getContext(this.name);
a && a.route && (a.attachRef ? this.attach(a.attachRef, a.route) : this.activateWith(a.route, a.injector))
}
}
get isActivated() {
return !!this.activated
}
get component() {
if (!this.activated)
throw new h.vHH(4012,Pr);
return this.activated.instance
}
get activatedRoute() {
if (!this.activated)
throw new h.vHH(4012,Pr);
return this._activatedRoute
}
get activatedRouteData() {
return this._activatedRoute ? this._activatedRoute.snapshot.data : {}
}
detach() {
if (!this.activated)
throw new h.vHH(4012,Pr);
this.location.detach();
const a = this.activated;
return this.activated = null,
this._activatedRoute = null,
this.detachEvents.emit(a.instance),
a
}
attach(a, f) {
this.activated = a,
this._activatedRoute = f,
this.location.insert(a.hostView),
this.attachEvents.emit(a.instance)
}
deactivate() {
if (this.activated) {
const a = this.component;
this.activated.destroy(),
this.activated = null,
this._activatedRoute = null,
this.deactivateEvents.emit(a)
}
}
activateWith(a, f) {
if (this.isActivated)
throw new h.vHH(4013,Pr);
this._activatedRoute = a;
const m = this.location
, T = a._futureSnapshot.component
, O = this.parentContexts.getOrCreateContext(this.name).children
, ue = new fn(a,O,m.injector);
if (f && function cs(c) {
return !!c.resolveComponentFactory
}(f)) {
const Ae = f.resolveComponentFactory(T);
this.activated = m.createComponent(Ae, m.length, ue)
} else
this.activated = m.createComponent(T, {
index: m.length,
injector: ue,
environmentInjector: f ?? this.environmentInjector
});
this.changeDetector.markForCheck(),
this.activateEvents.emit(this.activated.instance)
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.Y36(er),h.Y36(h.s_b),h.$8M("name"),h.Y36(h.sBO),h.Y36(h.lqb))
}
,
c.\u0275dir = h.lG2({
type: c,
selectors: [["router-outlet"]],
outputs: {
activateEvents: "activate",
deactivateEvents: "deactivate",
attachEvents: "attach",
detachEvents: "detach"
},
exportAs: ["outlet"],
standalone: !0
}),
c
}
)();
class fn {
constructor(u, a, f) {
this.route = u,
this.childContexts = a,
this.parent = f
}
get(u, a) {
return u === $n ? this.route : u === er ? this.childContexts : this.parent.get(u, a)
}
}
let zr = ( () => {
class c {
}
return c.\u0275fac = function(a) {
return new (a || c)
}
,
c.\u0275cmp = h.Xpm({
type: c,
selectors: [["ng-component"]],
standalone: !0,
features: [h.jDz],
decls: 1,
vars: 0,
template: function(a, f) {
1 & a && h._UZ(0, "router-outlet")
},
dependencies: [xn],
encapsulation: 2
}),
c
}
)();
function li(c, u) {
return c.providers && !c._injector && (c._injector = (0,
h.MMx)(c.providers, u, `Route: ${c.path}`)),
c._injector ?? u
}
function fi(c) {
const u = c.children && c.children.map(fi)
, a = u ? {
...c,
children: u
} : {
...c
};
return !a.component && !a.loadComponent && (u || a.loadChildren) && a.outlet && a.outlet !== Qe && (a.component = zr),
a
}
function hn(c) {
return c.outlet || Qe
}
function hi(c, u) {
const a = c.filter(f => hn(f) === u);
return a.push(...c.filter(f => hn(f) !== u)),
a
}
function Gr(c) {
if (!c)
return null;
if (c.routeConfig?._injector)
return c.routeConfig._injector;
for (let u = c.parent; u; u = u.parent) {
const a = u.routeConfig;
if (a?._loadedInjector)
return a._loadedInjector;
if (a?._injector)
return a._injector
}
return null
}
class pt {
constructor(u, a, f, m) {
this.routeReuseStrategy = u,
this.futureState = a,
this.currState = f,
this.forwardEvent = m
}
activate(u) {
const a = this.futureState._root
, f = this.currState ? this.currState._root : null;
this.deactivateChildRoutes(a, f, u),
Fo(this.futureState.root),
this.activateChildRoutes(a, f, u)
}
deactivateChildRoutes(u, a, f) {
const m = co(a);
u.children.forEach(C => {
const T = C.value.outlet;
this.deactivateRoutes(C, m[T], f),
delete m[T]
}
),
st(m, (C, T) => {
this.deactivateRouteAndItsChildren(C, f)
}
)
}
deactivateRoutes(u, a, f) {
const m = u.value
, C = a ? a.value : null;
if (m === C)
if (m.component) {
const T = f.getContext(m.outlet);
T && this.deactivateChildRoutes(u, a, T.children)
} else
this.deactivateChildRoutes(u, a, f);
else
C && this.deactivateRouteAndItsChildren(a, f)
}
deactivateRouteAndItsChildren(u, a) {
u.value.component && this.routeReuseStrategy.shouldDetach(u.value.snapshot) ? this.detachAndStoreRouteSubtree(u, a) : this.deactivateRouteAndOutlet(u, a)
}
detachAndStoreRouteSubtree(u, a) {
const f = a.getContext(u.value.outlet)
, m = f && u.value.component ? f.children : a
, C = co(u);
for (const T of Object.keys(C))
this.deactivateRouteAndItsChildren(C[T], m);
if (f && f.outlet) {
const T = f.outlet.detach()
, O = f.children.onOutletDeactivated();
this.routeReuseStrategy.store(u.value.snapshot, {
componentRef: T,
route: u,
contexts: O
})
}
}
deactivateRouteAndOutlet(u, a) {
const f = a.getContext(u.value.outlet)
, m = f && u.value.component ? f.children : a
, C = co(u);
for (const T of Object.keys(C))
this.deactivateRouteAndItsChildren(C[T], m);
f && f.outlet && (f.outlet.deactivate(),
f.children.onOutletDeactivated(),
f.attachRef = null,
f.resolver = null,
f.route = null)
}
activateChildRoutes(u, a, f) {
const m = co(a);
u.children.forEach(C => {
this.activateRoutes(C, m[C.value.outlet], f),
this.forwardEvent(new rs(C.value.snapshot))
}
),
u.children.length && this.forwardEvent(new fa(u.value.snapshot))
}
activateRoutes(u, a, f) {
const m = u.value
, C = a ? a.value : null;
if (Fo(m),
m === C)
if (m.component) {
const T = f.getOrCreateContext(m.outlet);
this.activateChildRoutes(u, a, T.children)
} else
this.activateChildRoutes(u, a, f);
else if (m.component) {
const T = f.getOrCreateContext(m.outlet);
if (this.routeReuseStrategy.shouldAttach(m.snapshot)) {
const O = this.routeReuseStrategy.retrieve(m.snapshot);
this.routeReuseStrategy.store(m.snapshot, null),
T.children.onOutletReAttached(O.contexts),
T.attachRef = O.componentRef,
T.route = O.route.value,
T.outlet && T.outlet.attach(O.componentRef, O.route.value),
Fo(O.route.value),
this.activateChildRoutes(u, null, T.children)
} else {
const O = Gr(m.snapshot)
, ue = O?.get(h._Vd) ?? null;
T.attachRef = null,
T.route = m,
T.resolver = ue,
T.injector = O,
T.outlet && T.outlet.activateWith(m, T.injector),
this.activateChildRoutes(u, null, T.children)
}
} else
this.activateChildRoutes(u, null, f)
}
}
class No {
constructor(u) {
this.path = u,
this.route = this.path[this.path.length - 1]
}
}
class It {
constructor(u, a) {
this.component = u,
this.route = a
}
}
function Wt(c, u, a) {
const f = c._root;
return pn(f, u ? u._root : null, a, [f.value])
}
function Vn(c, u) {
const a = Symbol()
, f = u.get(c, a);
return f === a ? "function" != typeof c || (0,
h.Z0I)(c) ? u.get(c) : c : f
}
function pn(c, u, a, f, m={
canDeactivateChecks: [],
canActivateChecks: []
}) {
const C = co(u);
return c.children.forEach(T => {
(function pi(c, u, a, f, m={
canDeactivateChecks: [],
canActivateChecks: []
}) {
const C = c.value
, T = u ? u.value : null
, O = a ? a.getContext(c.value.outlet) : null;
if (T && C.routeConfig === T.routeConfig) {
const ue = function gi(c, u, a) {
if ("function" == typeof a)
return a(c, u);
switch (a) {
case "pathParamsChange":
return !Un(c.url, u.url);
case "pathParamsOrQueryParamsChange":
return !Un(c.url, u.url) || !ge(c.queryParams, u.queryParams);
case "always":
return !0;
case "paramsOrQueryParamsChange":
return !un(c, u) || !ge(c.queryParams, u.queryParams);
default:
return !un(c, u)
}
}(T, C, C.routeConfig.runGuardsAndResolvers);
ue ? m.canActivateChecks.push(new No(f)) : (C.data = T.data,
C._resolvedData = T._resolvedData),
pn(c, u, C.component ? O ? O.children : null : a, f, m),
ue && O && O.outlet && O.outlet.isActivated && m.canDeactivateChecks.push(new It(O.outlet.component,T))
} else
T && ho(u, O, m),
m.canActivateChecks.push(new No(f)),
pn(c, null, C.component ? O ? O.children : null : a, f, m)
}
)(T, C[T.value.outlet], a, f.concat([T.value]), m),
delete C[T.value.outlet]
}
),
st(C, (T, O) => ho(T, a.getContext(O), m)),
m
}
function ho(c, u, a) {
const f = co(c)
, m = c.value;
st(f, (C, T) => {
ho(C, m.component ? u ? u.children.getContext(T) : null : u, a)
}
),
a.canDeactivateChecks.push(new It(m.component && u && u.outlet && u.outlet.isActivated ? u.outlet.component : null,m))
}
function po(c) {
return "function" == typeof c
}
function Lo(c) {
return c instanceof U.K || "EmptyError" === c?.name
}
const Wr = Symbol("INITIAL_VALUE");
function dr() {
return re(c => me(c.map(u => u.pipe((0,
ce.q)(1), function Me(...c) {
const u = (0,
Se.yG)(c);
return (0,
fe.e)( (a, f) => {
(u ? (0,
V.z)(c, a, u) : (0,
V.z)(c, a)).subscribe(f)
}
)
}(Wr)))).pipe((0,
M.U)(u => {
for (const a of u)
if (!0 !== a) {
if (a === Wr)
return Wr;
if (!1 === a || a instanceof vn)
return a
}
return !0
}
), (0,
Ee.h)(u => u !== Wr), (0,
ce.q)(1)))
}
function _i(c) {
return (0,
pe.z)((0,
tt.b)(u => {
if (Bn(u))
throw Pt(0, u)
}
), (0,
M.U)(u => !0 === u))
}
const mo = {
matched: !1,
consumedSegments: [],
remainingSegments: [],
parameters: {},
positionalParamSegments: {}
};
function ys(c, u, a, f, m) {
const C = Ei(c, u, a);
return C.matched ? function vs(c, u, a, f) {
const m = u.canMatch;
if (!m || 0 === m.length)
return (0,
A.of)(!0);
const C = m.map(T => {
const O = Vn(T, c);
return lt(function tr(c) {
return c && po(c.canMatch)
}(O) ? O.canMatch(u, a) : c.runInContext( () => O(u, a)))
}
);
return (0,
A.of)(C).pipe(dr(), _i())
}(f = li(u, f), u, a).pipe((0,
M.U)(T => !0 === T ? C : {
...mo
})) : (0,
A.of)(C)
}
function Ei(c, u, a) {
if ("" === u.path)
return "full" === u.pathMatch && (c.hasChildren() || a.length > 0) ? {
...mo
} : {
matched: !0,
consumedSegments: [],
remainingSegments: a,
parameters: {},
positionalParamSegments: {}
};
const m = (u.matcher || x)(a, c, u);
if (!m)
return {
...mo
};
const C = {};
st(m.posParams, (O, ue) => {
C[ue] = O.path
}
);
const T = m.consumed.length > 0 ? {
...C,
...m.consumed[m.consumed.length - 1].parameters
} : C;
return {
matched: !0,
consumedSegments: m.consumed,
remainingSegments: a.slice(m.consumed.length),
parameters: T,
positionalParamSegments: m.posParams ?? {}
}
}
function Kt(c, u, a, f, m="corrected") {
if (a.length > 0 && function wi(c, u, a) {
return a.some(f => vo(c, u, f) && hn(f) !== Qe)
}(c, a, f)) {
const T = new at(u,function Ot(c, u, a, f) {
const m = {};
m[Qe] = f,
f._sourceSegment = c,
f._segmentIndexShift = u.length;
for (const C of a)
if ("" === C.path && hn(C) !== Qe) {
const T = new at([],{});
T._sourceSegment = c,
T._segmentIndexShift = u.length,
m[hn(C)] = T
}
return m
}(c, u, f, new at(a,c.children)));
return T._sourceSegment = c,
T._segmentIndexShift = u.length,
{
segmentGroup: T,
slicedSegments: []
}
}
if (0 === a.length && function Da(c, u, a) {
return a.some(f => vo(c, u, f))
}(c, a, f)) {
const T = new at(c.segments,function fr(c, u, a, f, m, C) {
const T = {};
for (const O of f)
if (vo(c, a, O) && !m[hn(O)]) {
const ue = new at([],{});
ue._sourceSegment = c,
ue._segmentIndexShift = "legacy" === C ? c.segments.length : u.length,
T[hn(O)] = ue
}
return {
...m,
...T
}
}(c, u, a, f, c.children, m));
return T._sourceSegment = c,
T._segmentIndexShift = u.length,
{
segmentGroup: T,
slicedSegments: a
}
}
const C = new at(c.segments,c.children);
return C._sourceSegment = c,
C._segmentIndexShift = u.length,
{
segmentGroup: C,
slicedSegments: a
}
}
function vo(c, u, a) {
return (!(c.hasChildren() || u.length > 0) || "full" !== a.pathMatch) && "" === a.path
}
function Ds(c, u, a, f) {
return !!(hn(c) === f || f !== Qe && vo(u, a, c)) && ("**" === c.path || Ei(u, c, a).matched)
}
function Cs(c, u, a) {
return 0 === u.length && !c.children[a]
}
const ko = !1;
class Or {
constructor(u) {
this.segmentGroup = u || null
}
}
class yo {
constructor(u) {
this.urlTree = u
}
}
function hr(c) {
return _e(new Or(c))
}
function Uo(c) {
return _e(new yo(c))
}
class g {
constructor(u, a, f, m, C) {
this.injector = u,
this.configLoader = a,
this.urlSerializer = f,
this.urlTree = m,
this.config = C,
this.allowRedirects = !0
}
apply() {
const u = Kt(this.urlTree.root, [], [], this.config).segmentGroup
, a = new at(u.segments,u.children);
return this.expandSegmentGroup(this.injector, this.config, a, Qe).pipe((0,
M.U)(C => this.createUrlTree(Mr(C), this.urlTree.queryParams, this.urlTree.fragment))).pipe((0,
it.K)(C => {
if (C instanceof yo)
return this.allowRedirects = !1,
this.match(C.urlTree);
throw C instanceof Or ? this.noMatchError(C) : C
}
))
}
match(u) {
return this.expandSegmentGroup(this.injector, this.config, u.root, Qe).pipe((0,
M.U)(m => this.createUrlTree(Mr(m), u.queryParams, u.fragment))).pipe((0,
it.K)(m => {
throw m instanceof Or ? this.noMatchError(m) : m
}
))
}
noMatchError(u) {
return new h.vHH(4002,ko)
}
createUrlTree(u, a, f) {
const m = rt(u);
return new vn(m,a,f)
}
expandSegmentGroup(u, a, f, m) {
return 0 === f.segments.length && f.hasChildren() ? this.expandChildren(u, a, f).pipe((0,
M.U)(C => new at([],C))) : this.expandSegment(u, f, a, f.segments, m, !0)
}
expandChildren(u, a, f) {
const m = [];
for (const C of Object.keys(f.children))
"primary" === C ? m.unshift(C) : m.push(C);
return (0,
w.D)(m).pipe((0,
_t.b)(C => {
const T = f.children[C]
, O = hi(a, C);
return this.expandSegmentGroup(u, O, T, C).pipe((0,
M.U)(ue => ({
segment: ue,
outlet: C
})))
}
), Ft( (C, T) => (C[T.outlet] = T.segment,
C), {}), jt())
}
expandSegment(u, a, f, m, C, T) {
return (0,
w.D)(f).pipe((0,
_t.b)(O => this.expandSegmentAgainstRoute(u, a, f, O, m, C, T).pipe((0,
it.K)(Ae => {
if (Ae instanceof Or)
return (0,
A.of)(null);
throw Ae
}
))), ft(O => !!O), (0,
it.K)( (O, ue) => {
if (Lo(O))
return Cs(a, m, C) ? (0,
A.of)(new at([],{})) : hr(a);
throw O
}
))
}
expandSegmentAgainstRoute(u, a, f, m, C, T, O) {
return Ds(m, a, C, T) ? void 0 === m.redirectTo ? this.matchSegmentAgainstRoute(u, a, m, C, T) : O && this.allowRedirects ? this.expandSegmentAgainstRouteUsingRedirect(u, a, f, m, C, T) : hr(a) : hr(a)
}
expandSegmentAgainstRouteUsingRedirect(u, a, f, m, C, T) {
return "**" === m.path ? this.expandWildCardWithParamsAgainstRouteUsingRedirect(u, f, m, T) : this.expandRegularSegmentAgainstRouteUsingRedirect(u, a, f, m, C, T)
}
expandWildCardWithParamsAgainstRouteUsingRedirect(u, a, f, m) {
const C = this.applyRedirectCommands([], f.redirectTo, {});
return f.redirectTo.startsWith("/") ? Uo(C) : this.lineralizeSegments(f, C).pipe((0,
He.z)(T => {
const O = new at(T,{});
return this.expandSegment(u, O, a, T, m, !1)
}
))
}
expandRegularSegmentAgainstRouteUsingRedirect(u, a, f, m, C, T) {
const {matched: O, consumedSegments: ue, remainingSegments: Ae, positionalParamSegments: Xe} = Ei(a, m, C);
if (!O)
return hr(a);
const je = this.applyRedirectCommands(ue, m.redirectTo, Xe);
return m.redirectTo.startsWith("/") ? Uo(je) : this.lineralizeSegments(m, je).pipe((0,
He.z)(Dt => this.expandSegment(u, a, f, Dt.concat(Ae), T, !1)))
}
matchSegmentAgainstRoute(u, a, f, m, C) {
return "**" === f.path ? (u = li(f, u),
f.loadChildren ? (f._loadedRoutes ? (0,
A.of)({
routes: f._loadedRoutes,
injector: f._loadedInjector
}) : this.configLoader.loadChildren(u, f)).pipe((0,
M.U)(O => (f._loadedRoutes = O.routes,
f._loadedInjector = O.injector,
new at(m,{})))) : (0,
A.of)(new at(m,{}))) : ys(a, f, m, u).pipe(re( ({matched: T, consumedSegments: O, remainingSegments: ue}) => T ? this.getChildConfig(u = f._injector ?? u, f, m).pipe((0,
He.z)(Xe => {
const je = Xe.injector ?? u
, Dt = Xe.routes
, {segmentGroup: sn, slicedSegments: gr} = Kt(a, O, ue, Dt)
, Jr = new at(sn.segments,sn.children);
if (0 === gr.length && Jr.hasChildren())
return this.expandChildren(je, Dt, Jr).pipe((0,
M.U)(bo => new at(O,bo)));
if (0 === Dt.length && 0 === gr.length)
return (0,
A.of)(new at(O,{}));
const Yn = hn(f) === C;
return this.expandSegment(je, Jr, Dt, gr, Yn ? Qe : C, !0).pipe((0,
M.U)(mr => new at(O.concat(mr.segments),mr.children)))
}
)) : hr(a)))
}
getChildConfig(u, a, f) {
return a.children ? (0,
A.of)({
routes: a.children,
injector: u
}) : a.loadChildren ? void 0 !== a._loadedRoutes ? (0,
A.of)({
routes: a._loadedRoutes,
injector: a._loadedInjector
}) : function ms(c, u, a, f) {
const m = u.canLoad;
if (void 0 === m || 0 === m.length)
return (0,
A.of)(!0);
const C = m.map(T => {
const O = Vn(T, c);
return lt(function hs(c) {
return c && po(c.canLoad)
}(O) ? O.canLoad(u, a) : c.runInContext( () => O(u, a)))
}
);
return (0,
A.of)(C).pipe(dr(), _i())
}(u, a, f).pipe((0,
He.z)(m => m ? this.configLoader.loadChildren(u, a).pipe((0,
tt.b)(C => {
a._loadedRoutes = C.routes,
a._loadedInjector = C.injector
}
)) : function d(c) {
return _e(ss(ko, 3))
}())) : (0,
A.of)({
routes: [],
injector: u
})
}
lineralizeSegments(u, a) {
let f = []
, m = a.root;
for (; ; ) {
if (f = f.concat(m.segments),
0 === m.numberOfChildren)
return (0,
A.of)(f);
if (m.numberOfChildren > 1 || !m.children[Qe])
return _e(new h.vHH(4e3,ko));
m = m.children[Qe]
}
}
applyRedirectCommands(u, a, f) {
return this.applyRedirectCreateUrlTree(a, this.urlSerializer.parse(a), u, f)
}
applyRedirectCreateUrlTree(u, a, f, m) {
const C = this.createSegmentGroup(u, a.root, f, m);
return new vn(C,this.createQueryParams(a.queryParams, this.urlTree.queryParams),a.fragment)
}
createQueryParams(u, a) {
const f = {};
return st(u, (m, C) => {
if ("string" == typeof m && m.startsWith(":")) {
const O = m.substring(1);
f[C] = a[O]
} else
f[C] = m
}
),
f
}
createSegmentGroup(u, a, f, m) {
const C = this.createSegments(u, a.segments, f, m);
let T = {};
return st(a.children, (O, ue) => {
T[ue] = this.createSegmentGroup(u, O, f, m)
}
),
new at(C,T)
}
createSegments(u, a, f, m) {
return a.map(C => C.path.startsWith(":") ? this.findPosParam(u, C, m) : this.findOrReturn(C, f))
}
findPosParam(u, a, f) {
const m = f[a.path.substring(1)];
if (!m)
throw new h.vHH(4001,ko);
return m
}
findOrReturn(u, a) {
let f = 0;
for (const m of a) {
if (m.path === u.path)
return a.splice(f),
m;
f++
}
return u
}
}
class de {
}
class vt {
constructor(u, a, f, m, C, T, O, ue) {
this.injector = u,
this.rootComponentType = a,
this.config = f,
this.urlTree = m,
this.url = C,
this.paramsInheritanceStrategy = T,
this.relativeLinkResolution = O,
this.urlSerializer = ue
}
recognize() {
const u = Kt(this.urlTree.root, [], [], this.config.filter(a => void 0 === a.redirectTo), this.relativeLinkResolution).segmentGroup;
return this.processSegmentGroup(this.injector, this.config, u, Qe).pipe((0,
M.U)(a => {
if (null === a)
return null;
const f = new uo([],Object.freeze({}),Object.freeze({
...this.urlTree.queryParams
}),this.urlTree.fragment,{},Qe,this.rootComponentType,null,this.urlTree.root,-1,{})
, m = new qn(f,a)
, C = new ai(this.url,m);
return this.inheritParamsAndData(C._root),
C
}
))
}
inheritParamsAndData(u) {
const a = u.value
, f = si(a, this.paramsInheritanceStrategy);
a.params = Object.freeze(f.params),
a.data = Object.freeze(f.data),
u.children.forEach(m => this.inheritParamsAndData(m))
}
processSegmentGroup(u, a, f, m) {
return 0 === f.segments.length && f.hasChildren() ? this.processChildren(u, a, f) : this.processSegment(u, a, f, f.segments, m)
}
processChildren(u, a, f) {
return (0,
w.D)(Object.keys(f.children)).pipe((0,
_t.b)(m => {
const C = f.children[m]
, T = hi(a, m);
return this.processSegmentGroup(u, T, C, m)
}
), Ft( (m, C) => m && C ? (m.push(...C),
m) : null), function Lt(c, u=!1) {
return (0,
fe.e)( (a, f) => {
let m = 0;
a.subscribe((0,
oe.x)(f, C => {
const T = c(C, m++);
(T || u) && f.next(C),
!T && f.complete()
}
))
}
)
}(m => null !== m), We(null), jt(), (0,
M.U)(m => {
if (null === m)
return null;
const C = Ut(m);
return function yt(c) {
c.sort( (u, a) => u.value.outlet === Qe ? -1 : a.value.outlet === Qe ? 1 : u.value.outlet.localeCompare(a.value.outlet))
}(C),
C
}
))
}
processSegment(u, a, f, m, C) {
return (0,
w.D)(a).pipe((0,
_t.b)(T => this.processSegmentAgainstRoute(T._injector ?? u, T, f, m, C)), ft(T => !!T), (0,
it.K)(T => {
if (Lo(T))
return Cs(f, m, C) ? (0,
A.of)([]) : (0,
A.of)(null);
throw T
}
))
}
processSegmentAgainstRoute(u, a, f, m, C) {
if (a.redirectTo || !Ds(a, f, m, C))
return (0,
A.of)(null);
let T;
if ("**" === a.path) {
const O = m.length > 0 ? Fe(m).parameters : {}
, ue = Gn(f) + m.length
, Ae = new uo(m,O,Object.freeze({
...this.urlTree.queryParams
}),this.urlTree.fragment,gn(a),hn(a),a.component ?? a._loadedComponent ?? null,a,Bt(f),ue,Wn(a),ue);
T = (0,
A.of)({
snapshot: Ae,
consumedSegments: [],
remainingSegments: []
})
} else
T = ys(f, a, m, u).pipe((0,
M.U)( ({matched: O, consumedSegments: ue, remainingSegments: Ae, parameters: Xe}) => {
if (!O)
return null;
const je = Gn(f) + ue.length;
return {
snapshot: new uo(ue,Xe,Object.freeze({
...this.urlTree.queryParams
}),this.urlTree.fragment,gn(a),hn(a),a.component ?? a._loadedComponent ?? null,a,Bt(f),je,Wn(a),je),
consumedSegments: ue,
remainingSegments: Ae
}
}
));
return T.pipe(re(O => {
if (null === O)
return (0,
A.of)(null);
const {snapshot: ue, consumedSegments: Ae, remainingSegments: Xe} = O;
u = a._injector ?? u;
const je = a._loadedInjector ?? u
, Dt = function Ct(c) {
return c.children ? c.children : c.loadChildren ? c._loadedRoutes : []
}(a)
, {segmentGroup: sn, slicedSegments: gr} = Kt(f, Ae, Xe, Dt.filter(Yn => void 0 === Yn.redirectTo), this.relativeLinkResolution);
if (0 === gr.length && sn.hasChildren())
return this.processChildren(je, Dt, sn).pipe((0,
M.U)(Yn => null === Yn ? null : [new qn(ue,Yn)]));
if (0 === Dt.length && 0 === gr.length)
return (0,
A.of)([new qn(ue,[])]);
const Jr = hn(a) === C;
return this.processSegment(je, Dt, sn, gr, Jr ? Qe : C).pipe((0,
M.U)(Yn => null === Yn ? null : [new qn(ue,Yn)]))
}
))
}
}
function dt(c) {
const u = c.value.routeConfig;
return u && "" === u.path && void 0 === u.redirectTo
}
function Ut(c) {
const u = []
, a = new Set;
for (const f of c) {
if (!dt(f)) {
u.push(f);
continue
}
const m = u.find(C => f.value.routeConfig === C.value.routeConfig);
void 0 !== m ? (m.children.push(...f.children),
a.add(m)) : u.push(f)
}
for (const f of a) {
const m = Ut(f.children);
u.push(new qn(f.value,m))
}
return u.filter(f => !a.has(f))
}
function Bt(c) {
let u = c;
for (; u._sourceSegment; )
u = u._sourceSegment;
return u
}
function Gn(c) {
let u = c
, a = u._segmentIndexShift ?? 0;
for (; u._sourceSegment; )
u = u._sourceSegment,
a += u._segmentIndexShift ?? 0;
return a - 1
}
function gn(c) {
return c.data || {}
}
function Wn(c) {
return c.resolve || {}
}
function Ea(c) {
return "string" == typeof c.title || null === c.title
}
function Rn(c) {
return re(u => {
const a = c(u);
return a ? (0,
w.D)(a).pipe((0,
M.U)( () => u)) : (0,
A.of)(u)
}
)
}
let wa = ( () => {
class c {
buildTitle(a) {
let f, m = a.root;
for (; void 0 !== m; )
f = this.getResolvedTitleForRoute(m) ?? f,
m = m.children.find(C => C.outlet === Qe);
return f
}
getResolvedTitleForRoute(a) {
return a.data[zt]
}
}
return c.\u0275fac = function(a) {
return new (a || c)
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: function() {
return (0,
h.f3M)(Do)
},
providedIn: "root"
}),
c
}
)()
, Do = ( () => {
class c extends wa {
constructor(a) {
super(),
this.title = a
}
updateTitle(a) {
const f = this.buildTitle(a);
void 0 !== f && this.title.setTitle(f)
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.LFG(At.Dx))
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: c.\u0275fac,
providedIn: "root"
}),
c
}
)();
class Es {
}
class Mi extends class bi {
shouldDetach(u) {
return !1
}
store(u, a) {}
shouldAttach(u) {
return !1
}
retrieve(u) {
return null
}
shouldReuseRoute(u, a) {
return u.routeConfig === a.routeConfig
}
}
{
}
const Bo = new h.OlP("",{
providedIn: "root",
factory: () => ({})
})
, Si = new h.OlP("ROUTES");
let Ii = ( () => {
class c {
constructor(a, f) {
this.injector = a,
this.compiler = f,
this.componentLoaders = new WeakMap,
this.childrenLoaders = new WeakMap
}
loadComponent(a) {
if (this.componentLoaders.get(a))
return this.componentLoaders.get(a);
if (a._loadedComponent)
return (0,
A.of)(a._loadedComponent);
this.onLoadStartListener && this.onLoadStartListener(a);
const f = lt(a.loadComponent()).pipe((0,
tt.b)(C => {
this.onLoadEndListener && this.onLoadEndListener(a),
a._loadedComponent = C
}
), Nn( () => {
this.componentLoaders.delete(a)
}
))
, m = new Le(f, () => new W.x).pipe(Ne());
return this.componentLoaders.set(a, m),
m
}
loadChildren(a, f) {
if (this.childrenLoaders.get(f))
return this.childrenLoaders.get(f);
if (f._loadedRoutes)
return (0,
A.of)({
routes: f._loadedRoutes,
injector: f._loadedInjector
});
this.onLoadStartListener && this.onLoadStartListener(f);
const C = this.loadModuleFactoryOrRoutes(f.loadChildren).pipe((0,
M.U)(O => {
this.onLoadEndListener && this.onLoadEndListener(f);
let ue, Ae, Xe = !1;
Array.isArray(O) ? Ae = O : (ue = O.create(a).injector,
Ae = Be(ue.get(Si, [], h.XFs.Self | h.XFs.Optional)));
return {
routes: Ae.map(fi),
injector: ue
}
}
), Nn( () => {
this.childrenLoaders.delete(f)
}
))
, T = new Le(C, () => new W.x).pipe(Ne());
return this.childrenLoaders.set(f, T),
T
}
loadModuleFactoryOrRoutes(a) {
return lt(a()).pipe((0,
He.z)(f => f instanceof h.YKP || Array.isArray(f) ? (0,
A.of)(f) : (0,
w.D)(this.compiler.compileModuleAsync(f))))
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.LFG(h.zs3),h.LFG(h.Sil))
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: c.\u0275fac,
providedIn: "root"
}),
c
}
)();
class bc {
}
class xi {
shouldProcessUrl(u) {
return !0
}
extract(u) {
return u
}
merge(u, a) {
return u
}
}
function Mc(c) {
throw c
}
function Ma(c, u, a) {
return u.parse("/")
}
const Sa = {
paths: "exact",
fragment: "ignored",
matrixParams: "ignored",
queryParams: "exact"
}
, Co = {
paths: "subset",
fragment: "ignored",
matrixParams: "ignored",
queryParams: "subset"
};
function Ia() {
const c = (0,
h.f3M)(or)
, u = (0,
h.f3M)(er)
, a = (0,
h.f3M)(j.Ye)
, f = (0,
h.f3M)(h.zs3)
, m = (0,
h.f3M)(h.Sil)
, C = (0,
h.f3M)(Si, {
optional: !0
}) ?? []
, T = (0,
h.f3M)(Bo, {
optional: !0
}) ?? {}
, O = (0,
h.f3M)(Do)
, ue = (0,
h.f3M)(wa, {
optional: !0
})
, Ae = (0,
h.f3M)(bc, {
optional: !0
})
, Xe = (0,
h.f3M)(Es, {
optional: !0
})
, je = new Yt(null,c,u,a,f,m,Be(C));
return Ae && (je.urlHandlingStrategy = Ae),
Xe && (je.routeReuseStrategy = Xe),
je.titleStrategy = ue ?? O,
function Sc(c, u) {
c.errorHandler && (u.errorHandler = c.errorHandler),
c.malformedUriErrorHandler && (u.malformedUriErrorHandler = c.malformedUriErrorHandler),
c.onSameUrlNavigation && (u.onSameUrlNavigation = c.onSameUrlNavigation),
c.paramsInheritanceStrategy && (u.paramsInheritanceStrategy = c.paramsInheritanceStrategy),
c.relativeLinkResolution && (u.relativeLinkResolution = c.relativeLinkResolution),
c.urlUpdateStrategy && (u.urlUpdateStrategy = c.urlUpdateStrategy),
c.canceledNavigationResolution && (u.canceledNavigationResolution = c.canceledNavigationResolution)
}(T, je),
je
}
let Yt = ( () => {
class c {
constructor(a, f, m, C, T, O, ue) {
this.rootComponentType = a,
this.urlSerializer = f,
this.rootContexts = m,
this.location = C,
this.config = ue,
this.lastSuccessfulNavigation = null,
this.currentNavigation = null,
this.disposed = !1,
this.navigationId = 0,
this.currentPageId = 0,
this.isNgZoneEnabled = !1,
this.events = new W.x,
this.errorHandler = Mc,
this.malformedUriErrorHandler = Ma,
this.navigated = !1,
this.lastSuccessfulId = -1,
this.afterPreactivation = () => (0,
A.of)(void 0),
this.urlHandlingStrategy = new xi,
this.routeReuseStrategy = new Mi,
this.onSameUrlNavigation = "ignore",
this.paramsInheritanceStrategy = "emptyOnly",
this.urlUpdateStrategy = "deferred",
this.relativeLinkResolution = "corrected",
this.canceledNavigationResolution = "replace",
this.configLoader = T.get(Ii),
this.configLoader.onLoadEndListener = Dt => this.triggerEvent(new la(Dt)),
this.configLoader.onLoadStartListener = Dt => this.triggerEvent(new ua(Dt)),
this.ngModule = T.get(h.h0i),
this.console = T.get(h.c2e);
const je = T.get(h.R0b);
this.isNgZoneEnabled = je instanceof h.R0b && h.R0b.isInAngularZone(),
this.resetConfig(ue),
this.currentUrlTree = function Ke() {
return new vn(new at([],{}),{},null)
}(),
this.rawUrlTree = this.currentUrlTree,
this.browserUrlTree = this.currentUrlTree,
this.routerState = Po(this.currentUrlTree, this.rootComponentType),
this.transitions = new G.X({
id: 0,
targetPageId: 0,
currentUrlTree: this.currentUrlTree,
currentRawUrl: this.currentUrlTree,
extractedUrl: this.urlHandlingStrategy.extract(this.currentUrlTree),
urlAfterRedirects: this.urlHandlingStrategy.extract(this.currentUrlTree),
rawUrl: this.currentUrlTree,
extras: {},
resolve: null,
reject: null,
promise: Promise.resolve(!0),
source: "imperative",
restoredState: null,
currentSnapshot: this.routerState.snapshot,
targetSnapshot: null,
currentRouterState: this.routerState,
targetRouterState: null,
guards: {
canActivateChecks: [],
canDeactivateChecks: []
},
guardsResult: null
}),
this.navigations = this.setupNavigations(this.transitions),
this.processNavigations()
}
get browserPageId() {
return this.location.getState()?.\u0275routerPageId
}
setupNavigations(a) {
const f = this.events;
return a.pipe((0,
Ee.h)(m => 0 !== m.id), (0,
M.U)(m => ({
...m,
extractedUrl: this.urlHandlingStrategy.extract(m.rawUrl)
})), re(m => {
let C = !1
, T = !1;
return (0,
A.of)(m).pipe((0,
tt.b)(O => {
this.currentNavigation = {
id: O.id,
initialUrl: O.rawUrl,
extractedUrl: O.extractedUrl,
trigger: O.source,
extras: O.extras,
previousNavigation: this.lastSuccessfulNavigation ? {
...this.lastSuccessfulNavigation,
previousNavigation: null
} : null
}
}
), re(O => {
const ue = this.browserUrlTree.toString()
, Ae = !this.navigated || O.extractedUrl.toString() !== ue || ue !== this.currentUrlTree.toString();
if (("reload" === this.onSameUrlNavigation || Ae) && this.urlHandlingStrategy.shouldProcessUrl(O.rawUrl))
return bs(O.source) && (this.browserUrlTree = O.extractedUrl),
(0,
A.of)(O).pipe(re(je => {
const Dt = this.transitions.getValue();
return f.next(new oi(je.id,this.serializeUrl(je.extractedUrl),je.source,je.restoredState)),
Dt !== this.transitions.getValue() ? N.E : Promise.resolve(je)
}
), function _(c, u, a, f) {
return re(m => function y(c, u, a, f, m) {
return new g(c,u,a,f,m).apply()
}(c, u, a, m.extractedUrl, f).pipe((0,
M.U)(C => ({
...m,
urlAfterRedirects: C
}))))
}(this.ngModule.injector, this.configLoader, this.urlSerializer, this.config), (0,
tt.b)(je => {
this.currentNavigation = {
...this.currentNavigation,
finalUrl: je.urlAfterRedirects
},
m.urlAfterRedirects = je.urlAfterRedirects
}
), function Kn(c, u, a, f, m, C) {
return (0,
He.z)(T => function Ge(c, u, a, f, m, C, T="emptyOnly", O="legacy") {
return new vt(c,u,a,f,m,T,O,C).recognize().pipe(re(ue => null === ue ? function Ce(c) {
return new le.y(u => u.error(c))
}(new de) : (0,
A.of)(ue)))
}(c, u, a, T.urlAfterRedirects, f.serialize(T.urlAfterRedirects), f, m, C).pipe((0,
M.U)(O => ({
...T,
targetSnapshot: O
}))))
}(this.ngModule.injector, this.rootComponentType, this.config, this.urlSerializer, this.paramsInheritanceStrategy, this.relativeLinkResolution), (0,
tt.b)(je => {
if (m.targetSnapshot = je.targetSnapshot,
"eager" === this.urlUpdateStrategy) {
if (!je.extras.skipLocationChange) {
const sn = this.urlHandlingStrategy.merge(je.urlAfterRedirects, je.rawUrl);
this.setBrowserUrl(sn, je)
}
this.browserUrlTree = je.urlAfterRedirects
}
const Dt = new ia(je.id,this.serializeUrl(je.extractedUrl),this.serializeUrl(je.urlAfterRedirects),je.targetSnapshot);
f.next(Dt)
}
));
if (Ae && this.rawUrlTree && this.urlHandlingStrategy.shouldProcessUrl(this.rawUrlTree)) {
const {id: Dt, extractedUrl: sn, source: gr, restoredState: Jr, extras: Yn} = O
, Ps = new oi(Dt,this.serializeUrl(sn),gr,Jr);
f.next(Ps);
const mr = Po(sn, this.rootComponentType).snapshot;
return m = {
...O,
targetSnapshot: mr,
urlAfterRedirects: sn,
extras: {
...Yn,
skipLocationChange: !1,
replaceUrl: !1
}
},
(0,
A.of)(m)
}
return this.rawUrlTree = O.rawUrl,
O.resolve(null),
N.E
}
), (0,
tt.b)(O => {
const ue = new sa(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot);
this.triggerEvent(ue)
}
), (0,
M.U)(O => m = {
...O,
guards: Wt(O.targetSnapshot, O.currentSnapshot, this.rootContexts)
}), function vi(c, u) {
return (0,
He.z)(a => {
const {targetSnapshot: f, currentSnapshot: m, guards: {canActivateChecks: C, canDeactivateChecks: T}} = a;
return 0 === T.length && 0 === C.length ? (0,
A.of)({
...a,
guardsResult: !0
}) : function yi(c, u, a, f) {
return (0,
w.D)(c).pipe((0,
He.z)(m => function gs(c, u, a, f, m) {
const C = u && u.routeConfig ? u.routeConfig.canDeactivate : null;
if (!C || 0 === C.length)
return (0,
A.of)(!0);
const T = C.map(O => {
const ue = Gr(u) ?? m
, Ae = Vn(O, ue);
return lt(function mi(c) {
return c && po(c.canDeactivate)
}(Ae) ? Ae.canDeactivate(c, u, a, f) : ue.runInContext( () => Ae(c, u, a, f))).pipe(ft())
}
);
return (0,
A.of)(T).pipe(dr())
}(m.component, m.route, a, u, f)), ft(m => !0 !== m, !0))
}(T, f, m, c).pipe((0,
He.z)(O => O && function Ec(c) {
return "boolean" == typeof c
}(O) ? function Di(c, u, a, f) {
return (0,
w.D)(u).pipe((0,
_t.b)(m => (0,
V.z)(function ya(c, u) {
return null !== c && u && u(new da(c)),
(0,
A.of)(!0)
}(m.route.parent, f), function go(c, u) {
return null !== c && u && u(new ha(c)),
(0,
A.of)(!0)
}(m.route, f), function Ci(c, u, a) {
const f = u[u.length - 1]
, C = u.slice(0, u.length - 1).reverse().map(T => function fs(c) {
const u = c.routeConfig ? c.routeConfig.canActivateChild : null;
return u && 0 !== u.length ? {
node: c,
guards: u
} : null
}(T)).filter(T => null !== T).map(T => z( () => {
const O = T.guards.map(ue => {
const Ae = Gr(T.node) ?? a
, Xe = Vn(ue, Ae);
return lt(function zn(c) {
return c && po(c.canActivateChild)
}(Xe) ? Xe.canActivateChild(f, c) : Ae.runInContext( () => Xe(f, c))).pipe(ft())
}
);
return (0,
A.of)(O).pipe(dr())
}
));
return (0,
A.of)(C).pipe(dr())
}(c, m.path, a), function ps(c, u, a) {
const f = u.routeConfig ? u.routeConfig.canActivate : null;
if (!f || 0 === f.length)
return (0,
A.of)(!0);
const m = f.map(C => z( () => {
const T = Gr(u) ?? a
, O = Vn(C, T);
return lt(function tn(c) {
return c && po(c.canActivate)
}(O) ? O.canActivate(u, c) : T.runInContext( () => O(u, c))).pipe(ft())
}
));
return (0,
A.of)(m).pipe(dr())
}(c, m.route, a))), ft(m => !0 !== m, !0))
}(f, C, c, u) : (0,
A.of)(O)), (0,
M.U)(O => ({
...a,
guardsResult: O
})))
}
)
}(this.ngModule.injector, O => this.triggerEvent(O)), (0,
tt.b)(O => {
if (m.guardsResult = O.guardsResult,
Bn(O.guardsResult))
throw Pt(0, O.guardsResult);
const ue = new aa(O.id,this.serializeUrl(O.extractedUrl),this.serializeUrl(O.urlAfterRedirects),O.targetSnapshot,!!O.guardsResult);
this.triggerEvent(ue)
}
), (0,
Ee.h)(O => !!O.guardsResult || (this.restoreHistory(O),
this.cancelNavigationTransition(O, "", 3),
!1)), Rn(O => {
if (O.guards.canActivateChecks.length)
return (0,
A.of)(O).pipe((0,
tt.b)(ue => {
const Ae = new ns(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot);
this.triggerEvent(Ae)
}
), re(ue => {
let Ae = !1;
return (0,
A.of)(ue).pipe(function Kr(c, u) {
return (0,
He.z)(a => {
const {targetSnapshot: f, guards: {canActivateChecks: m}} = a;
if (!m.length)
return (0,
A.of)(a);
let C = 0;
return (0,
w.D)(m).pipe((0,
_t.b)(T => function Yr(c, u, a, f) {
const m = c.routeConfig
, C = c._resolve;
return void 0 !== m?.title && !Ea(m) && (C[zt] = m.title),
function Wl(c, u, a, f) {
const m = function Ca(c) {
return [...Object.keys(c), ...Object.getOwnPropertySymbols(c)]
}(c);
if (0 === m.length)
return (0,
A.of)({});
const C = {};
return (0,
w.D)(m).pipe((0,
He.z)(T => function _a(c, u, a, f) {
const m = Gr(u) ?? f
, C = Vn(c, m);
return lt(C.resolve ? C.resolve(u, a) : m.runInContext( () => C(u, a)))
}(c[T], u, a, f).pipe(ft(), (0,
tt.b)(O => {
C[T] = O
}
))), Nt(1), (0,
Fn.h)(C), (0,
it.K)(T => Lo(T) ? N.E : _e(T)))
}(C, c, u, f).pipe((0,
M.U)(T => (c._resolvedData = T,
c.data = si(c, a).resolve,
m && Ea(m) && (c.data[zt] = m.title),
null)))
}(T.route, f, c, u)), (0,
tt.b)( () => C++), Nt(1), (0,
He.z)(T => C === m.length ? (0,
A.of)(a) : N.E))
}
)
}(this.paramsInheritanceStrategy, this.ngModule.injector), (0,
tt.b)({
next: () => Ae = !0,
complete: () => {
Ae || (this.restoreHistory(ue),
this.cancelNavigationTransition(ue, "", 2))
}
}))
}
), (0,
tt.b)(ue => {
const Ae = new ca(ue.id,this.serializeUrl(ue.extractedUrl),this.serializeUrl(ue.urlAfterRedirects),ue.targetSnapshot);
this.triggerEvent(Ae)
}
))
}
), Rn(O => {
const ue = Ae => {
const Xe = [];
Ae.routeConfig?.loadComponent && !Ae.routeConfig._loadedComponent && Xe.push(this.configLoader.loadComponent(Ae.routeConfig).pipe((0,
tt.b)(je => {
Ae.component = je
}
), (0,
M.U)( () => {}
)));
for (const je of Ae.children)
Xe.push(...ue(je));
return Xe
}
;
return me(ue(O.targetSnapshot.root)).pipe(We(), (0,
ce.q)(1))
}
), Rn( () => this.afterPreactivation()), (0,
M.U)(O => {
const ue = function lo(c, u, a) {
const f = $r(c, u._root, a ? a._root : void 0);
return new Xn(f,u)
}(this.routeReuseStrategy, O.targetSnapshot, O.currentRouterState);
return m = {
...O,
targetRouterState: ue
}
}
), (0,
tt.b)(O => {
this.currentUrlTree = O.urlAfterRedirects,
this.rawUrlTree = this.urlHandlingStrategy.merge(O.urlAfterRedirects, O.rawUrl),
this.routerState = O.targetRouterState,
"deferred" === this.urlUpdateStrategy && (O.extras.skipLocationChange || this.setBrowserUrl(this.rawUrlTree, O),
this.browserUrlTree = O.urlAfterRedirects)
}
), ( (c, u, a) => (0,
M.U)(f => (new pt(u,f.targetRouterState,f.currentRouterState,a).activate(c),
f)))(this.rootContexts, this.routeReuseStrategy, O => this.triggerEvent(O)), (0,
tt.b)({
next() {
C = !0
},
complete() {
C = !0
}
}), Nn( () => {
C || T || this.cancelNavigationTransition(m, "", 1),
this.currentNavigation?.id === m.id && (this.currentNavigation = null)
}
), (0,
it.K)(O => {
if (T = !0,
Vr(O)) {
as(O) || (this.navigated = !0,
this.restoreHistory(m, !0));
const ue = new so(m.id,this.serializeUrl(m.extractedUrl),O.message,O.cancellationCode);
if (f.next(ue),
as(O)) {
const Ae = this.urlHandlingStrategy.merge(O.url, this.rawUrlTree)
, Xe = {
skipLocationChange: m.extras.skipLocationChange,
replaceUrl: "eager" === this.urlUpdateStrategy || bs(m.source)
};
this.scheduleNavigation(Ae, "imperative", null, Xe, {
resolve: m.resolve,
reject: m.reject,
promise: m.promise
})
} else
m.resolve(!1)
} else {
this.restoreHistory(m, !0);
const ue = new ts(m.id,this.serializeUrl(m.extractedUrl),O,m.targetSnapshot ?? void 0);
f.next(ue);
try {
m.resolve(this.errorHandler(O))
} catch (Ae) {
m.reject(Ae)
}
}
return N.E
}
))
}
))
}
resetRootComponentType(a) {
this.rootComponentType = a,
this.routerState.root.component = this.rootComponentType
}
setTransition(a) {
this.transitions.next({
...this.transitions.value,
...a
})
}
initialNavigation() {
this.setUpLocationChangeListener(),
0 === this.navigationId && this.navigateByUrl(this.location.path(!0), {
replaceUrl: !0
})
}
setUpLocationChangeListener() {
this.locationSubscription || (this.locationSubscription = this.location.subscribe(a => {
const f = "popstate" === a.type ? "popstate" : "hashchange";
"popstate" === f && setTimeout( () => {
const m = {
replaceUrl: !0
}
, C = a.state?.navigationId ? a.state : null;
if (C) {
const O = {
...C
};
delete O.navigationId,
delete O.\u0275routerPageId,
0 !== Object.keys(O).length && (m.state = O)
}
const T = this.parseUrl(a.url);
this.scheduleNavigation(T, f, C, m)
}
, 0)
}
))
}
get url() {
return this.serializeUrl(this.currentUrlTree)
}
getCurrentNavigation() {
return this.currentNavigation
}
triggerEvent(a) {
this.events.next(a)
}
resetConfig(a) {
this.config = a.map(fi),
this.navigated = !1,
this.lastSuccessfulId = -1
}
ngOnDestroy() {
this.dispose()
}
dispose() {
this.transitions.complete(),
this.locationSubscription && (this.locationSubscription.unsubscribe(),
this.locationSubscription = void 0),
this.disposed = !0
}
createUrlTree(a, f={}) {
const {relativeTo: m, queryParams: C, fragment: T, queryParamsHandling: O, preserveFragment: ue} = f
, Ae = m || this.routerState.root
, Xe = ue ? this.currentUrlTree.fragment : T;
let je = null;
switch (O) {
case "merge":
je = {
...this.currentUrlTree.queryParams,
...C
};
break;
case "preserve":
je = this.currentUrlTree.queryParams;
break;
default:
je = C || null
}
return null !== je && (je = this.removeEmptyProps(je)),
yn(Ae, this.currentUrlTree, a, je, Xe ?? null)
}
navigateByUrl(a, f={
skipLocationChange: !1
}) {
const m = Bn(a) ? a : this.parseUrl(a)
, C = this.urlHandlingStrategy.merge(m, this.rawUrlTree);
return this.scheduleNavigation(C, "imperative", null, f)
}
navigate(a, f={
skipLocationChange: !1
}) {
return function Ic(c) {
for (let u = 0; u < c.length; u++) {
if (null == c[u])
throw new h.vHH(4008,false)
}
}(a),
this.navigateByUrl(this.createUrlTree(a, f), f)
}
serializeUrl(a) {
return this.urlSerializer.serialize(a)
}
parseUrl(a) {
let f;
try {
f = this.urlSerializer.parse(a)
} catch (m) {
f = this.malformedUriErrorHandler(m, this.urlSerializer, a)
}
return f
}
isActive(a, f) {
let m;
if (m = !0 === f ? {
...Sa
} : !1 === f ? {
...Co
} : f,
Bn(a))
return Xt(this.currentUrlTree, a, m);
const C = this.parseUrl(a);
return Xt(this.currentUrlTree, C, m)
}
removeEmptyProps(a) {
return Object.keys(a).reduce( (f, m) => {
const C = a[m];
return null != C && (f[m] = C),
f
}
, {})
}
processNavigations() {
this.navigations.subscribe(a => {
this.navigated = !0,
this.lastSuccessfulId = a.id,
this.currentPageId = a.targetPageId,
this.events.next(new Qn(a.id,this.serializeUrl(a.extractedUrl),this.serializeUrl(this.currentUrlTree))),
this.lastSuccessfulNavigation = this.currentNavigation,
this.titleStrategy?.updateTitle(this.routerState.snapshot),
a.resolve(!0)
}
, a => {
this.console.warn(`Unhandled Navigation Error: ${a}`)
}
)
}
scheduleNavigation(a, f, m, C, T) {
if (this.disposed)
return Promise.resolve(!1);
let O, ue, Ae;
T ? (O = T.resolve,
ue = T.reject,
Ae = T.promise) : Ae = new Promise( (Dt, sn) => {
O = Dt,
ue = sn
}
);
const Xe = ++this.navigationId;
let je;
return "computed" === this.canceledNavigationResolution ? (0 === this.currentPageId && (m = this.location.getState()),
je = m && m.\u0275routerPageId ? m.\u0275routerPageId : C.replaceUrl || C.skipLocationChange ? this.browserPageId ?? 0 : (this.browserPageId ?? 0) + 1) : je = 0,
this.setTransition({
id: Xe,
targetPageId: je,
source: f,
restoredState: m,
currentUrlTree: this.currentUrlTree,
currentRawUrl: this.rawUrlTree,
rawUrl: a,
extras: C,
resolve: O,
reject: ue,
promise: Ae,
currentSnapshot: this.routerState.snapshot,
currentRouterState: this.routerState
}),
Ae.catch(Dt => Promise.reject(Dt))
}
setBrowserUrl(a, f) {
const m = this.urlSerializer.serialize(a)
, C = {
...f.extras.state,
...this.generateNgRouterState(f.id, f.targetPageId)
};
this.location.isCurrentPathEqualTo(m) || f.extras.replaceUrl ? this.location.replaceState(m, "", C) : this.location.go(m, "", C)
}
restoreHistory(a, f=!1) {
if ("computed" === this.canceledNavigationResolution) {
const m = this.currentPageId - a.targetPageId;
"popstate" !== a.source && "eager" !== this.urlUpdateStrategy && this.currentUrlTree !== this.currentNavigation?.finalUrl || 0 === m ? this.currentUrlTree === this.currentNavigation?.finalUrl && 0 === m && (this.resetState(a),
this.browserUrlTree = a.currentUrlTree,
this.resetUrlToCurrentUrlTree()) : this.location.historyGo(m)
} else
"replace" === this.canceledNavigationResolution && (f && this.resetState(a),
this.resetUrlToCurrentUrlTree())
}
resetState(a) {
this.routerState = a.currentRouterState,
this.currentUrlTree = a.currentUrlTree,
this.rawUrlTree = this.urlHandlingStrategy.merge(this.currentUrlTree, a.rawUrl)
}
resetUrlToCurrentUrlTree() {
this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree), "", this.generateNgRouterState(this.lastSuccessfulId, this.currentPageId))
}
cancelNavigationTransition(a, f, m) {
const C = new so(a.id,this.serializeUrl(a.extractedUrl),f,m);
this.triggerEvent(C),
a.resolve(!1)
}
generateNgRouterState(a, f) {
return "computed" === this.canceledNavigationResolution ? {
navigationId: a,
\u0275routerPageId: f
} : {
navigationId: a
}
}
}
return c.\u0275fac = function(a) {
h.$Z()
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: function() {
return Ia()
},
providedIn: "root"
}),
c
}
)();
function bs(c) {
return "imperative" !== c
}
let jo = ( () => {
class c {
constructor(a, f, m, C, T) {
this.router = a,
this.route = f,
this.tabIndexAttribute = m,
this.renderer = C,
this.el = T,
this._preserveFragment = !1,
this._skipLocationChange = !1,
this._replaceUrl = !1,
this.commands = null,
this.onChanges = new W.x,
this.setTabIndexIfNotOnNativeEl("0")
}
set preserveFragment(a) {
this._preserveFragment = (0,
h.D6c)(a)
}
get preserveFragment() {
return this._preserveFragment
}
set skipLocationChange(a) {
this._skipLocationChange = (0,
h.D6c)(a)
}
get skipLocationChange() {
return this._skipLocationChange
}
set replaceUrl(a) {
this._replaceUrl = (0,
h.D6c)(a)
}
get replaceUrl() {
return this._replaceUrl
}
setTabIndexIfNotOnNativeEl(a) {
if (null != this.tabIndexAttribute)
return;
const f = this.renderer
, m = this.el.nativeElement;
null !== a ? f.setAttribute(m, "tabindex", a) : f.removeAttribute(m, "tabindex")
}
ngOnChanges(a) {
this.onChanges.next(this)
}
set routerLink(a) {
null != a ? (this.commands = Array.isArray(a) ? a : [a],
this.setTabIndexIfNotOnNativeEl("0")) : (this.commands = null,
this.setTabIndexIfNotOnNativeEl(null))
}
onClick() {
return null === this.urlTree || this.router.navigateByUrl(this.urlTree, {
skipLocationChange: this.skipLocationChange,
replaceUrl: this.replaceUrl,
state: this.state
}),
!0
}
get urlTree() {
return null === this.commands ? null : this.router.createUrlTree(this.commands, {
relativeTo: void 0 !== this.relativeTo ? this.relativeTo : this.route,
queryParams: this.queryParams,
fragment: this.fragment,
queryParamsHandling: this.queryParamsHandling,
preserveFragment: this.preserveFragment
})
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.Y36(Yt),h.Y36($n),h.$8M("tabindex"),h.Y36(h.Qsj),h.Y36(h.SBq))
}
,
c.\u0275dir = h.lG2({
type: c,
selectors: [["", "routerLink", "", 5, "a", 5, "area"]],
hostBindings: function(a, f) {
1 & a && h.NdJ("click", function() {
return f.onClick()
})
},
inputs: {
queryParams: "queryParams",
fragment: "fragment",
queryParamsHandling: "queryParamsHandling",
state: "state",
relativeTo: "relativeTo",
preserveFragment: "preserveFragment",
skipLocationChange: "skipLocationChange",
replaceUrl: "replaceUrl",
routerLink: "routerLink"
},
standalone: !0,
features: [h.TTD]
}),
c
}
)()
, pr = ( () => {
class c {
constructor(a, f, m) {
this.router = a,
this.route = f,
this.locationStrategy = m,
this._preserveFragment = !1,
this._skipLocationChange = !1,
this._replaceUrl = !1,
this.commands = null,
this.href = null,
this.onChanges = new W.x,
this.subscription = a.events.subscribe(C => {
C instanceof Qn && this.updateTargetUrlAndHref()
}
)
}
set preserveFragment(a) {
this._preserveFragment = (0,
h.D6c)(a)
}
get preserveFragment() {
return this._preserveFragment
}
set skipLocationChange(a) {
this._skipLocationChange = (0,
h.D6c)(a)
}
get skipLocationChange() {
return this._skipLocationChange
}
set replaceUrl(a) {
this._replaceUrl = (0,
h.D6c)(a)
}
get replaceUrl() {
return this._replaceUrl
}
set routerLink(a) {
this.commands = null != a ? Array.isArray(a) ? a : [a] : null
}
ngOnChanges(a) {
this.updateTargetUrlAndHref(),
this.onChanges.next(this)
}
ngOnDestroy() {
this.subscription.unsubscribe()
}
onClick(a, f, m, C, T) {
return !!(0 !== a || f || m || C || T || "string" == typeof this.target && "_self" != this.target || null === this.urlTree) || (this.router.navigateByUrl(this.urlTree, {
skipLocationChange: this.skipLocationChange,
replaceUrl: this.replaceUrl,
state: this.state
}),
!1)
}
updateTargetUrlAndHref() {
this.href = null !== this.urlTree ? this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(this.urlTree)) : null
}
get urlTree() {
return null === this.commands ? null : this.router.createUrlTree(this.commands, {
relativeTo: void 0 !== this.relativeTo ? this.relativeTo : this.route,
queryParams: this.queryParams,
fragment: this.fragment,
queryParamsHandling: this.queryParamsHandling,
preserveFragment: this.preserveFragment
})
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.Y36(Yt),h.Y36($n),h.Y36(j.S$))
}
,
c.\u0275dir = h.lG2({
type: c,
selectors: [["a", "routerLink", ""], ["area", "routerLink", ""]],
hostVars: 2,
hostBindings: function(a, f) {
1 & a && h.NdJ("click", function(C) {
return f.onClick(C.button, C.ctrlKey, C.shiftKey, C.altKey, C.metaKey)
}),
2 & a && h.uIk("target", f.target)("href", f.href, h.LSH)
},
inputs: {
target: "target",
queryParams: "queryParams",
fragment: "fragment",
queryParamsHandling: "queryParamsHandling",
state: "state",
relativeTo: "relativeTo",
preserveFragment: "preserveFragment",
skipLocationChange: "skipLocationChange",
replaceUrl: "replaceUrl",
routerLink: "routerLink"
},
standalone: !0,
features: [h.TTD]
}),
c
}
)()
, Zr = ( () => {
class c {
constructor(a, f, m, C, T, O) {
this.router = a,
this.element = f,
this.renderer = m,
this.cdr = C,
this.link = T,
this.linkWithHref = O,
this.classes = [],
this.isActive = !1,
this.routerLinkActiveOptions = {
exact: !1
},
this.isActiveChange = new h.vpe,
this.routerEventsSubscription = a.events.subscribe(ue => {
ue instanceof Qn && this.update()
}
)
}
ngAfterContentInit() {
(0,
A.of)(this.links.changes, this.linksWithHrefs.changes, (0,
A.of)(null)).pipe((0,
mn.J)()).subscribe(a => {
this.update(),
this.subscribeToEachLinkOnChanges()
}
)
}
subscribeToEachLinkOnChanges() {
this.linkInputChangesSubscription?.unsubscribe();
const a = [...this.links.toArray(), ...this.linksWithHrefs.toArray(), this.link, this.linkWithHref].filter(f => !!f).map(f => f.onChanges);
this.linkInputChangesSubscription = (0,
w.D)(a).pipe((0,
mn.J)()).subscribe(f => {
this.isActive !== this.isLinkActive(this.router)(f) && this.update()
}
)
}
set routerLinkActive(a) {
const f = Array.isArray(a) ? a : a.split(" ");
this.classes = f.filter(m => !!m)
}
ngOnChanges(a) {
this.update()
}
ngOnDestroy() {
this.routerEventsSubscription.unsubscribe(),
this.linkInputChangesSubscription?.unsubscribe()
}
update() {
!this.links || !this.linksWithHrefs || !this.router.navigated || Promise.resolve().then( () => {
const a = this.hasActiveLinks();
this.isActive !== a && (this.isActive = a,
this.cdr.markForCheck(),
this.classes.forEach(f => {
a ? this.renderer.addClass(this.element.nativeElement, f) : this.renderer.removeClass(this.element.nativeElement, f)
}
),
a && void 0 !== this.ariaCurrentWhenActive ? this.renderer.setAttribute(this.element.nativeElement, "aria-current", this.ariaCurrentWhenActive.toString()) : this.renderer.removeAttribute(this.element.nativeElement, "aria-current"),
this.isActiveChange.emit(a))
}
)
}
isLinkActive(a) {
const f = function _o(c) {
return !!c.paths
}(this.routerLinkActiveOptions) ? this.routerLinkActiveOptions : this.routerLinkActiveOptions.exact || !1;
return m => !!m.urlTree && a.isActive(m.urlTree, f)
}
hasActiveLinks() {
const a = this.isLinkActive(this.router);
return this.link && a(this.link) || this.linkWithHref && a(this.linkWithHref) || this.links.some(a) || this.linksWithHrefs.some(a)
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.Y36(Yt),h.Y36(h.SBq),h.Y36(h.Qsj),h.Y36(h.sBO),h.Y36(jo, 8),h.Y36(pr, 8))
}
,
c.\u0275dir = h.lG2({
type: c,
selectors: [["", "routerLinkActive", ""]],
contentQueries: function(a, f, m) {
if (1 & a && (h.Suo(m, jo, 5),
h.Suo(m, pr, 5)),
2 & a) {
let C;
h.iGM(C = h.CRH()) && (f.links = C),
h.iGM(C = h.CRH()) && (f.linksWithHrefs = C)
}
},
inputs: {
routerLinkActiveOptions: "routerLinkActiveOptions",
ariaCurrentWhenActive: "ariaCurrentWhenActive",
routerLinkActive: "routerLinkActive"
},
outputs: {
isActiveChange: "isActiveChange"
},
exportAs: ["routerLinkActive"],
standalone: !0,
features: [h.TTD]
}),
c
}
)();
class Ms {
}
let Kl = ( () => {
class c {
constructor(a, f, m, C, T) {
this.router = a,
this.injector = m,
this.preloadingStrategy = C,
this.loader = T
}
setUpPreloading() {
this.subscription = this.router.events.pipe((0,
Ee.h)(a => a instanceof Qn), (0,
_t.b)( () => this.preload())).subscribe( () => {}
)
}
preload() {
return this.processRoutes(this.injector, this.router.config)
}
ngOnDestroy() {
this.subscription && this.subscription.unsubscribe()
}
processRoutes(a, f) {
const m = [];
for (const C of f) {
C.providers && !C._injector && (C._injector = (0,
h.MMx)(C.providers, a, `Route: ${C.path}`));
const T = C._injector ?? a
, O = C._loadedInjector ?? T;
C.loadChildren && !C._loadedRoutes && void 0 === C.canLoad || C.loadComponent && !C._loadedComponent ? m.push(this.preloadConfig(T, C)) : (C.children || C._loadedRoutes) && m.push(this.processRoutes(O, C.children ?? C._loadedRoutes))
}
return (0,
w.D)(m).pipe((0,
mn.J)())
}
preloadConfig(a, f) {
return this.preloadingStrategy.preload(f, () => {
let m;
m = f.loadChildren && void 0 === f.canLoad ? this.loader.loadChildren(a, f) : (0,
A.of)(null);
const C = m.pipe((0,
He.z)(T => null === T ? (0,
A.of)(void 0) : (f._loadedRoutes = T.routes,
f._loadedInjector = T.injector,
this.processRoutes(T.injector ?? a, T.routes))));
if (f.loadComponent && !f._loadedComponent) {
const T = this.loader.loadComponent(f);
return (0,
w.D)([C, T]).pipe((0,
mn.J)())
}
return C
}
)
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.LFG(Yt),h.LFG(h.Sil),h.LFG(h.lqb),h.LFG(Ms),h.LFG(Ii))
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: c.\u0275fac,
providedIn: "root"
}),
c
}
)();
const Ss = new h.OlP("");
let St = ( () => {
class c {
constructor(a, f, m={}) {
this.router = a,
this.viewportScroller = f,
this.options = m,
this.lastId = 0,
this.lastSource = "imperative",
this.restoredId = 0,
this.store = {},
m.scrollPositionRestoration = m.scrollPositionRestoration || "disabled",
m.anchorScrolling = m.anchorScrolling || "disabled"
}
init() {
"disabled" !== this.options.scrollPositionRestoration && this.viewportScroller.setHistoryScrollRestoration("manual"),
this.routerEventsSubscription = this.createScrollEvents(),
this.scrollEventsSubscription = this.consumeScrollEvents()
}
createScrollEvents() {
return this.router.events.subscribe(a => {
a instanceof oi ? (this.store[this.lastId] = this.viewportScroller.getScrollPosition(),
this.lastSource = a.navigationTrigger,
this.restoredId = a.restoredState ? a.restoredState.navigationId : 0) : a instanceof Qn && (this.lastId = a.id,
this.scheduleScrollEvent(a, this.router.parseUrl(a.urlAfterRedirects).fragment))
}
)
}
consumeScrollEvents() {
return this.router.events.subscribe(a => {
a instanceof ii && (a.position ? "top" === this.options.scrollPositionRestoration ? this.viewportScroller.scrollToPosition([0, 0]) : "enabled" === this.options.scrollPositionRestoration && this.viewportScroller.scrollToPosition(a.position) : a.anchor && "enabled" === this.options.anchorScrolling ? this.viewportScroller.scrollToAnchor(a.anchor) : "disabled" !== this.options.scrollPositionRestoration && this.viewportScroller.scrollToPosition([0, 0]))
}
)
}
scheduleScrollEvent(a, f) {
this.router.triggerEvent(new ii(a,"popstate" === this.lastSource ? this.store[this.restoredId] : null,f))
}
ngOnDestroy() {
this.routerEventsSubscription && this.routerEventsSubscription.unsubscribe(),
this.scrollEventsSubscription && this.scrollEventsSubscription.unsubscribe()
}
}
return c.\u0275fac = function(a) {
h.$Z()
}
,
c.\u0275prov = h.Yz7({
token: c,
factory: c.\u0275fac
}),
c
}
)();
function $o(c, u) {
return {
\u0275kind: c,
\u0275providers: u
}
}
function Ta(c) {
return [{
provide: Si,
multi: !0,
useValue: c
}]
}
function Tc() {
const c = (0,
h.f3M)(h.zs3);
return u => {
const a = c.get(h.z2F);
if (u !== a.components[0])
return;
const f = c.get(Yt)
, m = c.get(Eo);
1 === c.get(Aa) && f.initialNavigation(),
c.get(wo, null, h.XFs.Optional)?.setUpPreloading(),
c.get(Ss, null, h.XFs.Optional)?.init(),
f.resetRootComponentType(a.componentTypes[0]),
m.closed || (m.next(),
m.unsubscribe())
}
}
const Eo = new h.OlP("",{
factory: () => new W.x
})
, Aa = new h.OlP("",{
providedIn: "root",
factory: () => 1
});
const wo = new h.OlP("");
function Zl(c) {
return $o(0, [{
provide: wo,
useExisting: Kl
}, {
provide: Ms,
useExisting: c
}])
}
const Ts = new h.OlP("ROUTER_FORROOT_GUARD")
, Ti = [j.Ye, {
provide: or,
useClass: wr
}, {
provide: Yt,
useFactory: Ia
}, er, {
provide: $n,
useFactory: function xc(c) {
return c.routerState.root
},
deps: [Yt]
}, Ii];
function Vo() {
return new h.PXZ("Router",Yt)
}
let Pa = ( () => {
class c {
constructor(a) {}
static forRoot(a, f) {
return {
ngModule: c,
providers: [Ti, [], Ta(a), {
provide: Ts,
useFactory: ql,
deps: [[Yt, new h.FiY, new h.tp0]]
}, {
provide: Bo,
useValue: f || {}
}, f?.useHash ? {
provide: j.S$,
useClass: j.Do
} : {
provide: j.S$,
useClass: j.b0
}, {
provide: Ss,
useFactory: () => {
const c = (0,
h.f3M)(Yt)
, u = (0,
h.f3M)(j.EM)
, a = (0,
h.f3M)(Bo);
return a.scrollOffset && u.setOffset(a.scrollOffset),
new St(c,u,a)
}
}, f?.preloadingStrategy ? Zl(f.preloadingStrategy).\u0275providers : [], {
provide: h.PXZ,
multi: !0,
useFactory: Vo
}, f?.initialNavigation ? Oa(f) : [], [{
provide: En,
useFactory: Tc
}, {
provide: h.tb,
multi: !0,
useExisting: En
}]]
}
}
static forChild(a) {
return {
ngModule: c,
providers: [Ta(a)]
}
}
}
return c.\u0275fac = function(a) {
return new (a || c)(h.LFG(Ts, 8))
}
,
c.\u0275mod = h.oAB({
type: c
}),
c.\u0275inj = h.cJS({
imports: [zr]
}),
c
}
)();
function ql(c) {
return "guarded"
}
function Oa(c) {
return ["disabled" === c.initialNavigation ? $o(3, [{
provide: h.ip1,
multi: !0,
useFactory: () => {
const u = (0,
h.f3M)(Yt);
return () => {
u.setUpLocationChangeListener()
}
}
}, {
provide: Aa,
useValue: 2
}]).\u0275providers : [], "enabledBlocking" === c.initialNavigation ? $o(2, [{
provide: Aa,
useValue: 0
}, {
provide: h.ip1,
multi: !0,
deps: [h.zs3],
useFactory: u => {
const a = u.get(j.V_, Promise.resolve());
let f = !1;
return () => a.then( () => new Promise(C => {
const T = u.get(Yt)
, O = u.get(Eo);
(function m(C) {
u.get(Yt).events.pipe((0,
Ee.h)(O => O instanceof Qn || O instanceof so || O instanceof ts), (0,
M.U)(O => O instanceof Qn || O instanceof so && (0 === O.code || 1 === O.code) && null), (0,
Ee.h)(O => null !== O), (0,
ce.q)(1)).subscribe( () => {
C()
}
)
}
)( () => {
C(!0),
f = !0
}
),
T.afterPreactivation = () => (C(!0),
f || O.closed ? (0,
A.of)(void 0) : O),
T.initialNavigation()
}
))
}
}]).\u0275providers : []]
}
const En = new h.OlP("")
}
,
5861: (Oe, ae, D) => {
"use strict";
function h(A, G, U, le, J, q, te) {
try {
var R = A[q](te)
, X = R.value
} catch (P) {
return void U(P)
}
R.done ? G(X) : Promise.resolve(X).then(le, J)
}
function w(A) {
return function() {
var G = this
, U = arguments;
return new Promise(function(le, J) {
var q = A.apply(G, U);
function te(X) {
h(q, le, J, te, R, "next", X)
}
function R(X) {
h(q, le, J, te, R, "throw", X)
}
te(void 0)
}
)
}
}
D.d(ae, {
Z: () => w
})
}
,
7582: (Oe, ae, D) => {
"use strict";
function P(W, j, re, ce) {
return new (re || (re = Promise))(function(Ee, He) {
function We(ft) {
try {
Ue(ce.next(ft))
} catch (_t) {
He(_t)
}
}
function ht(ft) {
try {
Ue(ce.throw(ft))
} catch (_t) {
He(_t)
}
}
function Ue(ft) {
ft.done ? Ee(ft.value) : function Me(Ee) {
return Ee instanceof re ? Ee : new re(function(He) {
He(Ee)
}
)
}(ft.value).then(We, ht)
}
Ue((ce = ce.apply(W, j || [])).next())
}
)
}
function De(W) {
return this instanceof De ? (this.v = W,
this) : new De(W)
}
function me(W, j, re) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var Me, ce = re.apply(W, j || []), Ee = [];
return Me = {},
He("next"),
He("throw"),
He("return"),
Me[Symbol.asyncIterator] = function() {
return this
}
,
Me;
function He(tt) {
ce[tt] && (Me[tt] = function(it) {
return new Promise(function(Rt, Ft) {
Ee.push([tt, it, Rt, Ft]) > 1 || We(tt, it)
}
)
}
)
}
function We(tt, it) {
try {
!function ht(tt) {
tt.value instanceof De ? Promise.resolve(tt.value.v).then(Ue, ft) : _t(Ee[0][2], tt)
}(ce[tt](it))
} catch (Rt) {
_t(Ee[0][3], Rt)
}
}
function Ue(tt) {
We("next", tt)
}
function ft(tt) {
We("throw", tt)
}
function _t(tt, it) {
tt(it),
Ee.shift(),
Ee.length && We(Ee[0][0], Ee[0][1])
}
}
function Q(W) {
if (!Symbol.asyncIterator)
throw new TypeError("Symbol.asyncIterator is not defined.");
var re, j = W[Symbol.asyncIterator];
return j ? j.call(W) : (W = function ne(W) {
var j = "function" == typeof Symbol && Symbol.iterator
, re = j && W[j]
, ce = 0;
if (re)
return re.call(W);
if (W && "number" == typeof W.length)
return {
next: function() {
return W && ce >= W.length && (W = void 0),
{
value: W && W[ce++],
done: !W
}
}
};
throw new TypeError(j ? "Object is not iterable." : "Symbol.iterator is not defined.")
}(W),
re = {},
ce("next"),
ce("throw"),
ce("return"),
re[Symbol.asyncIterator] = function() {
return this
}
,
re);
function ce(Ee) {
re[Ee] = W[Ee] && function(He) {
return new Promise(function(We, ht) {
!function Me(Ee, He, We, ht) {
Promise.resolve(ht).then(function(Ue) {
Ee({
value: Ue,
done: We
})
}, He)
}(We, ht, (He = W[Ee](He)).done, He.value)
}
)
}
}
}
D.d(ae, {
FC: () => me,
KL: () => Q,
mG: () => P,
qq: () => De
}),
"function" == typeof SuppressedError && SuppressedError
}
}, Oe => {
Oe(Oe.s = 9077)
}
]);